Utilities for doing I/O with ledger files.
- myLedgerPath :: IO String
- myTimelogPath :: IO String
- myJournal :: IO Journal
- myTimelog :: IO Journal
- readJournal :: FilePath -> IO Journal
- journalFromString :: String -> IO Journal
Documentation
myLedgerPath :: IO StringSource
Get the user's default ledger file path.
myTimelogPath :: IO StringSource
Get the user's default timelog file path.
readJournal :: FilePath -> IO JournalSource
Read a journal from this file, or throw an error.
journalFromString :: String -> IO JournalSource
Read a Journal from the given string, using the current time as reference time, or throw an error.