Safe Haskell | None |
---|
- data DL f
- type Layout = DL ()
- file :: FilePath -> Text -> Layout
- file_ :: FilePath -> Layout
- directory :: FilePath -> Layout -> Layout
- directory_ :: FilePath -> Layout
- data DLMakeWarning
- make :: Layout -> FilePath -> IO [DLMakeWarning]
- data DLCheckFailure
- check :: Layout -> FilePath -> IO [DLCheckFailure]
- layout :: Text -> Either String Layout
- layout' :: Text -> Either String Layout
Layout declaration
Abstract data type representing directory tree is nice
directory_ :: FilePath -> LayoutSource
Declare empty directory
Layout construction
data DLMakeWarning Source
Data type representing various warnings that may occur while infecting directory layout
:: Layout | |
-> FilePath | Root directory |
-> IO [DLMakeWarning] | List of warnings |
Infect file layout with stuff from script
Layout verification
data DLCheckFailure Source
Data type representing various failures that may occur while checking directory layout
:: Layout | |
-> FilePath | Root directory |
-> IO [DLCheckFailure] | List of failures |
Check directory layout corresponds to specified one