type FilePath = String
base Prelude, base System.IO, filepath System.FilePath.Windows, filepath System.FilePath.Posix
File and directory names are values of type String, whose precise meaning is operating system dependent. Files can be opened, yielding a handle which can then be used to operate on the contents of that file.
module System.FilePath
filepath System.FilePath
A library for FilePath manipulations, using Posix or Windows filepaths depending on the platform. Both System.FilePath.Posix and System.FilePath.Windows provide the same interface. See either for examples and a list of the available functions.
module System.Posix.ByteString.FilePath
unix System.Posix.ByteString.FilePath
Internal stuff: support for ByteString FilePaths
package FilePather
Functions over System.FilePath including a find function for recursing down directories. Version 0.2.0
package filepath
package canonical-filepath
Abstract data type for canonical file paths. Version
equalFilePath :: FilePath -> FilePath -> Bool
filepath System.FilePath.Windows, filepath System.FilePath.Posix
Equality of two FilePaths. If you call System.Directory.canonicalizePath first this has a much better chance of working. Note that this doesn't follow symlinks or DOSNAM~1s. > x == y ==> equalFilePath x y > normalise x == normalise y ==> equalFilePath x y > Posix: equalFilePath "foo" "foo/" > Posix: not (equalFilePath "foo" "/foo") > Posix: not (equalFilePath "foo" "FOO") > Windows: equalFilePath "foo" "FOO"
peekFilePath :: CString -> IO RawFilePath
unix System.Posix.ByteString.FilePath
peekFilePathLen :: CStringLen -> IO RawFilePath
unix System.Posix.ByteString.FilePath
type RawFilePath = ByteString
unix System.Posix.ByteString.FilePath, unix System.Posix.ByteString
A literal POSIX file path
package system-filepath
withFilePath :: RawFilePath -> (CString -> IO a) -> IO a
unix System.Posix.ByteString.FilePath