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

Safe HaskellNone
LanguageHaskell2010

Summoner.Tree

Synopsis

Documentation

data TreeFs #

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 () #

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

showTree :: TreeFs -> Text #

Pretty shows the directory tree content.