Utilities for doing I/O with ledger files.
- myLedgerPath :: IO String
- myTimelogPath :: IO String
- myLedger :: IO Ledger
- myTimelog :: IO Ledger
- readLedger :: FilePath -> IO Ledger
- 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.
readLedger :: FilePath -> IO LedgerSource
Read a ledger from this file, with no filtering, or give an error.
journalFromString :: String -> IO JournalSource
Read a Journal from the given string, using the current time as reference time, or give a parse error.