Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Handles directory management for both the template data and the
data/scripts that the user generates when using hifi
. Internally it uses
'$XDG_DATA_HOME' to locate the directory where scripts and data files should
end up.
This usually defaults to '$HOME/.local' in most Linux distributions, but can also be set manually if one chooses to do so.
Documentation
templateDir :: IO FilePath Source #
templateDir
will point to the directory where the supplied data files (templates)
end up. The data dir will, when using stack
end up in the `.stack-work`
folder. This directory is then used in order to read the templates at runtime
so that they can be used when writing new script/data files.