This commit is contained in:
Joey Hess 2020-07-19 21:31:06 -04:00
parent 889603336a
commit 2234a1d64a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -26,6 +26,8 @@ module Utility.RawFilePath (
import Utility.FileSystemEncoding (RawFilePath)
import System.Posix.Files.ByteString
-- | Checks if a file or directoy exists. Note that a dangling symlink
-- will be false.
doesPathExist :: RawFilePath -> IO Bool
doesPathExist = fileExist