summoner-1.2.0: Tool for scaffolding 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.

showBoldTree :: TreeFs -> Text Source #

Pretty shows the directory tree content.

showTree Source #

Arguments

:: Bool

Print directories bold.

-> TreeFs

Given tree.

-> Text

Pretty output.

Pretty shows tree with options.