Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type RawFilePath = ByteString
- (</>) :: RawFilePath -> RawFilePath -> RawFilePath
- catchDoesNotExist :: IO a -> IO (Maybe a)
- modificationTimestamp :: FileStatus -> Timestamp
- fileInfo :: RawFilePath -> IO (Maybe (FileOffset, Timestamp))
- setFileTimestamps :: RawFilePath -> Timestamp -> Timestamp -> IO ()
- removeFile :: RawFilePath -> IO Bool
- createDir :: RawFilePath -> FileMode -> IO Bool
- compareFiles :: RawFilePath -> RawFilePath -> IO Bool
- hashFile :: HashAlgorithm a => RawFilePath -> IO (Digest a)
- rawFilePath :: FilePath -> IO RawFilePath
- unRawFilePath :: RawFilePath -> IO FilePath
Documentation
type RawFilePath = ByteString #
A literal POSIX file path
(</>) :: RawFilePath -> RawFilePath -> RawFilePath #
Operator version of combine
fileInfo :: RawFilePath -> IO (Maybe (FileOffset, Timestamp)) Source #
setFileTimestamps :: RawFilePath -> Timestamp -> Timestamp -> IO () Source #
removeFile :: RawFilePath -> IO Bool Source #
compareFiles :: RawFilePath -> RawFilePath -> IO Bool Source #
Returns True
if files are identical
hashFile :: HashAlgorithm a => RawFilePath -> IO (Digest a) Source #
rawFilePath :: FilePath -> IO RawFilePath Source #
unRawFilePath :: RawFilePath -> IO FilePath Source #