hledger/hledger-lib/Hledger
Jesse Rosenthal a6a73e36e3 Finish removing journalFinalise (#903)
* journal: Get rid of `journalFinalise` and use granular functions

Complete the process started in 53b3e2bd. This gets rid of the
`journalFinalise` function and uses the smaller steps, in order to
have more granular control.

* journal: Change order of operations in finalization

We want to make sure that we add the filepath after the order is
reversed, so the added filepath is on the head and not the tail (as it
would be if it were reversed after it was added).

* journal: Refine granular finalization functions

This commit fixes two of the granular finalization functions:

1. Rename `journalSetTime` to `journalSetLastReadTime` and improve
   documentation.

2. Remove `journalSetFilePath`. It's redundant with `journalAddFile`
   currently in `Hledger.Read.Common`. The only difference between the
   functions is where the file is added (we keep the one in which it
   is added to the tail), so we change the position vis-a-vis
   reversal.
2018-10-16 08:51:51 -07:00
..
Data Finish removing journalFinalise (#903) 2018-10-16 08:51:51 -07:00
Read Finish removing journalFinalise (#903) 2018-10-16 08:51:51 -07:00
Reports acc: don't require an explicit --flat to make --drop work 2018-10-13 13:22:11 -07:00
Utils lib: switch to megaparsec 7 2018-09-30 20:15:12 -06:00
Data.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
Query.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
Read.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
Reports.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
Utils.hs lib: fix home path expansion in includes 2018-10-09 13:35:40 -10:00