Safe Haskell | None |
---|---|
Language | Haskell2010 |
- dataPath :: IO FilePath
- journalPath :: IO FilePath
- createNeededFiles :: IO ()
Documentation
dataPath :: IO FilePath Source
The directory in which we're storing our data.
On *nix, this is something like
~/.local/share/tn
This can be overridden with certain environment variables. See the module documentation in System.Directory for more details.
journalPath :: IO FilePath Source
The path to the journal
This will be dataPath
plus "/journal.yaml"
createNeededFiles :: IO () Source
Create the needed paths, and put a skeleton in journalPath
if need
be.