summoner-1.0.5: Tool for creating completely configured production Haskell projects.

Safe HaskellNone
LanguageHaskell2010

Summoner.Tree

Synopsis

Documentation

data TreeFs Source #

Describes simple structure of filesystem tree.

Constructors

Dir FilePath [TreeFs]

Name of directory (relative) and its containing entries

File FilePath Text

File name (relative) and file content

traverseTree :: TreeFs -> IO () Source #

Walks through directory tree and write file contents, creating all intermediate directories.

showTree :: TreeFs -> Text Source #

Pretty shows the directory tree content.