Safe Haskell | Safe-Inferred |
---|
A module containing various file utility functions
- makeDirectories :: FilePath -> IO ()
- getRecursiveContents :: Bool -> FilePath -> IO [FilePath]
- isFileInternal :: HakyllConfiguration -> FilePath -> Bool
Documentation
makeDirectories :: FilePath -> IO ()Source
Given a path to a file, try to make the path writable by making all directories on the path.
Get all contents of a directory. Note that files starting with a dot (.) will be ignored.
:: HakyllConfiguration | Configuration |
-> FilePath | File to check |
-> Bool | If the given file is internal |
Check if a file is meant for Hakyll internal use, i.e. if it is located in the destination or store directory