Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
A module containing various file utility functions
- makeDirectories :: FilePath -> IO ()
- getRecursiveContents :: (FilePath -> IO Bool) -> FilePath -> IO [FilePath]
- removeDirectory :: FilePath -> IO ()
Documentation
makeDirectories :: FilePath -> IO () Source #
Given a path to a file, try to make the path writable by making all directories on the path.
:: (FilePath -> IO Bool) | Ignore this file/directory |
-> FilePath | Directory to search |
-> IO [FilePath] | List of files found |
Get all contents of a directory.
removeDirectory :: FilePath -> IO () Source #