System.FileSystem.IO
- takeFile :: FilePath -> IO File
- captureDir :: FilePath -> IO FileSystem
- capture :: IO FileSystem
- releaseEnd :: FilePath -> IO a -> FileSystem -> IO a
- release :: FilePath -> FileSystem -> IO ()
- releaseHere :: FileSystem -> IO ()
Documentation
captureDir :: FilePath -> IO FileSystemSource
Create a complete FileSystem from an existing directory.
capture :: IO FileSystemSource
Create a complete FileSystem from the current working directory.
releaseEnd :: FilePath -> IO a -> FileSystem -> IO aSource
releaseEnd fp c fs write in fp the FileSystem fs, and execute c at the end.
release :: FilePath -> FileSystem -> IO ()Source
release fp fs write in fp the FileSystem fs.
releaseHere :: FileSystem -> IO ()Source
releaseHere fs write in the current working directory the FileSystem fs.