summaryrefslogtreecommitdiffstats
path: root/lib/domain/libimagtimetrack/src/timetrackingstore.rs
AgeCommit message (Collapse)Author
2019-06-26Rename module: timetrackingstore -> storeMatthias Beyer
2019-05-18Fix: Entries::in_collection() should be able to return errorMatthias Beyer
This patch changes the Entries::in_collection() interface to return a Result<()>. This is needed because the fs backend implementation should be able to check whether a directory actually exists whenever we change the iterator. If the implementation detects that the directory does not exist, we can fail early and error out. All usages of the interface are adapted by the patch as well. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-18Add more context in error messagesMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-05-18Run 'cargo fix' for rust-2018Matthias Beyer
With this patch we move the codebase to Rust-2018. The diff was generated by executing cargo fix --all --all-features --edition on the codebase. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-11Optimize: Do not iterate over entries outside of "timetrack" collectionMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-01-03Update copyright yearsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30libimagtimetrack: Move from error-chain to failureMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-04-24Replace Store::retrieve_for_module() with own iterator typeMatthias Beyer
2018-02-11Refactor error handlingMatthias Beyer
Refactor error handling so we do chain the error with the `?` operator rather than wrapping it with own types. Links to other error chains are created with error chain. All unneeded error kinds were removed. No API changes.
2018-02-11Remove "get" iterator, store provides this nowMatthias Beyer
2018-02-07Update dates in license headerMatthias Beyer
And add missing header in one file
2017-09-04Remove dedicated result modules, use error chain generated Result typesMatthias Beyer
2017-09-03libimagtimetrack: Rewrite error handlingMatthias Beyer
2017-08-27libimagentrytimetrack -> libimagtimetrackMatthias Beyer
This is actually a domain library and thus should be put into the lib/domain/ folder.