Matthias Beyer
8c37fb865a
This patch rebuilds DiaryEntryIterator to be a wrapper around StoreIdIterator and thus `Diary::entries()` to use `Store::entries` and not `Store::retrieve_for_module()`. The `Store::retrieve_for_module()` function is somehow buggy and loads contents of the files into memory and _somehow_ causes the entries to be rewritten without newlines. This bug is fixed by moving away from `Store::retrieve_for_module()`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
libimagdiary
This library crates implements a full diary.
One can have one or more diaries in the store, each diary can have unlimited entries.
Future plans
The diary should be able to provide daily, hourly and even minutely diary entries, so one can use the diary as normal "Dear diary, today..."-diary, or more fine-grained and more like a journal.
The internal file format as well as the store-path generation for this module is prepared for such functionality.