bdcs-0.2.0: Tools for managing a content store of software packages
BDCS.Export.FSTree
Synopsis
type FSEntry = (FilePath, Maybe Files) Source #
A single node within a file system tree. The pair is a single path component (e.g., "c" for the node at "ab/c"), and maybe a Files object. Automatically created parent directories will use Nothing as the snd element.
type FSTree = Tree FSEntry Source #
A tree of file system entries.
filesToTree :: MonadError String m => Sink Files m FSTree Source #
fstreeSource :: Monad m => FSTree -> Source m Files Source #