Given a path to a file, try to make the path writable by making all directories on the path.
Modulehakyll-4.17.0.0Haskell2010
Hakyll.Core.Util.File
A module containing various file utility functions
- 4 values
- Packagehakyll-4.17.0.0
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceFile.hs
value
getRecursiveContents Get all contents of a directory.
If a directory is encountered for which you do not have permission, the directory will be skipped instead of an exception being thrown.
If a dangling/broken symbolic link is encountered, then it will be skipped (since returning it may cause callers to throw exceptions).
Perform an IO action, catching any permission errors and returning a default value in their place. All other exceptions are rethrown.