Copyright | Copyright (C) 2020 Daniel Firth |
---|---|
Maintainer | Daniel Firth <dan.firth@homotopic.tech> |
Safe Haskell | None |
Language | Haskell2010 |
License : MIT Stability : experimental
Directory utilities in Development.Shake lifted to MonadAction
and
well-typed Path
s.
Synopsis
- doesFileExist :: MonadAction m => Path b File -> m Bool
- doesDirectoryExist :: MonadAction m => Path b Dir -> m Bool
- getDirectoryFiles :: MonadAction m => Path b Dir -> [FilePattern] -> m [Path Rel File]
- getDirectoryDirs :: MonadAction m => Path b Dir -> m [Path Rel Dir]
- getDirectoryFilesIO :: MonadIO m => Path b Dir -> [FilePattern] -> m [Path Rel File]
Documentation
doesFileExist :: MonadAction m => Path b File -> m Bool Source #
Lifted version of doesFileExist
using well-typed Path
s.
doesDirectoryExist :: MonadAction m => Path b Dir -> m Bool Source #
Lifted version of doesDirectoryExist
using well-typed Path
s.
getDirectoryFiles :: MonadAction m => Path b Dir -> [FilePattern] -> m [Path Rel File] Source #
Lifted version of getDirectoryFiles
using well-typed Path
s.
getDirectoryDirs :: MonadAction m => Path b Dir -> m [Path Rel Dir] Source #
Lifted version of getDirectoryDirs
using well-typed Path
s.
getDirectoryFilesIO :: MonadIO m => Path b Dir -> [FilePattern] -> m [Path Rel File] Source #
Lifted version of getDirectoryFilesIO
using well-typed Path
s.