Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class MonadFail m => MonadFile m where Source #
Nothing
readFile :: FilePath -> m ByteString Source #
readFile :: (MonadTrans t, MonadFile m', m ~ t m') => FilePath -> m ByteString Source #
listDirectory :: FilePath -> m [FilePath] Source #
listDirectory :: (MonadTrans t, MonadFile m', m ~ t m') => FilePath -> m [FilePath] Source #
getCurrentDirectory :: m FilePath Source #
getCurrentDirectory :: (MonadTrans t, MonadFile m', m ~ t m') => m FilePath Source #
canonicalizePath :: FilePath -> m FilePath Source #
canonicalizePath :: (MonadTrans t, MonadFile m', m ~ t m') => FilePath -> m FilePath Source #
getHomeDirectory :: m FilePath Source #
getHomeDirectory :: (MonadTrans t, MonadFile m', m ~ t m') => m FilePath Source #
doesPathExist :: FilePath -> m Bool Source #
doesPathExist :: (MonadTrans t, MonadFile m', m ~ t m') => FilePath -> m Bool Source #
doesFileExist :: FilePath -> m Bool Source #
doesFileExist :: (MonadTrans t, MonadFile m', m ~ t m') => FilePath -> m Bool Source #
doesDirectoryExist :: FilePath -> m Bool Source #
doesDirectoryExist :: (MonadTrans t, MonadFile m', m ~ t m') => FilePath -> m Bool Source #
getSymbolicLinkStatus :: FilePath -> m FileStatus Source #
getSymbolicLinkStatus :: (MonadTrans t, MonadFile m', m ~ t m') => FilePath -> m FileStatus Source #