Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- copyFile' :: (MonadAction m, Partial) => Path Rel File -> Path Rel File -> m ()
- copyFileChanged :: (MonadAction m, Partial) => Path Rel File -> Path Rel File -> m ()
- readFile' :: (MonadAction m, Partial) => Path Rel File -> m Text
- readFileLines :: (MonadAction m, Partial) => Path Rel File -> m [Text]
- readFileIn' :: MonadAction m => Path Rel Dir -> Path Rel File -> m Text
- readFileWithin :: MonadAction m => Within Rel (Path Rel File) -> m Text
- writeFile' :: (MonadAction m, Partial) => Path Rel File -> Text -> m ()
- writeFileLines :: (MonadAction m, Partial) => Path Rel File -> [Text] -> m ()
- writeFileIn' :: MonadAction m => Path Rel Dir -> Path Rel File -> Text -> m ()
- writeFileWithin :: MonadAction m => Within Rel (Path Rel File) -> Text -> m ()
- writeFileChanged :: (MonadAction m, Partial) => Path b File -> Text -> m ()
- writeFileChangedIn :: MonadAction m => Path Rel Dir -> Path Rel File -> Text -> m ()
- writeFileChangedWithin :: MonadAction m => Within Rel (Path Rel File) -> Text -> m ()
- removeFiles :: MonadAction m => Path b File -> [FilePattern] -> m ()
- removeFilesAfter :: MonadAction m => Path Rel Dir -> [FilePattern] -> m ()
Documentation
copyFileChanged :: (MonadAction m, Partial) => Path Rel File -> Path Rel File -> m () Source #
Lifted version of copyFileChanged'
with well-typed Path
s.
readFileLines :: (MonadAction m, Partial) => Path Rel File -> m [Text] Source #
Lifted version of readFileLines
with well-typed Path
.
readFileIn' :: MonadAction m => Path Rel Dir -> Path Rel File -> m Text Source #
Like readFile'
, but with an argument for the parent directory. Used for symmetry with
the way getDirectoryFiles
takes arguments.
readFileWithin :: MonadAction m => Within Rel (Path Rel File) -> m Text Source #
writeFile' :: (MonadAction m, Partial) => Path Rel File -> Text -> m () Source #
writeFileLines :: (MonadAction m, Partial) => Path Rel File -> [Text] -> m () Source #
Lifted version of writeFileLines
with well-typed Path
.
writeFileIn' :: MonadAction m => Path Rel Dir -> Path Rel File -> Text -> m () Source #
Like writeFile'
, but with an argument for the parent directory. Used for symmetry with
the way getDirectoryFiles
takes arguments.
writeFileWithin :: MonadAction m => Within Rel (Path Rel File) -> Text -> m () Source #
Like writeFile'
, but accepts a Within
value.
writeFileChanged :: (MonadAction m, Partial) => Path b File -> Text -> m () Source #
Lifted version of writeFileChanged
with well-typed Path
.
writeFileChangedIn :: MonadAction m => Path Rel Dir -> Path Rel File -> Text -> m () Source #
Like writeFileChanged'
, but with an argument for the parent directory. Used for symmetry with
the way getDirectoryFiles
takes arguments.
writeFileChangedWithin :: MonadAction m => Within Rel (Path Rel File) -> Text -> m () Source #
Like writeFileChanged'
, but accepts a Within
value.
removeFiles :: MonadAction m => Path b File -> [FilePattern] -> m () Source #
Lifted version of removeFiles
with well-typed Path
.
removeFilesAfter :: MonadAction m => Path Rel Dir -> [FilePattern] -> m () Source #
Lifted version of removeFilesAfter
with well-typed Path
.