Safe Haskell | None |
---|
- module System.FilePath
- module SimpleH
- data File
- data DirEntry = DirEntry FilePath File
- getFile :: FilePath -> IO File
- workingDirectory :: IO File
- data Location
- pathTo :: [progName :: FilePath] => Location -> FilePath
- modTime :: FilePath -> IO Seconds
- file :: Traversal' File (Maybe String, Maybe ByteString)
- contents :: Traversal' File (Map String File)
- child :: Traversal' File File
- descendant :: Fold' File File
- named :: (String -> Bool) -> Traversal' DirEntry DirEntry
- withExtension :: String -> Traversal' DirEntry DirEntry
- fileName :: Lens' DirEntry String
- entry :: Lens' DirEntry File
- text :: Traversal' File String
- fileData :: Traversal' File ByteString
Exported modules
module System.FilePath
module SimpleH
The File interface
workingDirectory :: IO FileSource
The working directory, as a DirEntry