imag/lib/domain
Matthias Beyer 5c8af4460e Fix: Entries::in_collection() should be able to return error
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-18 13:37:46 +02:00
..
libimagbookmark Add more context in error messages 2019-05-18 00:54:35 +02:00
libimagcontact Fix: Entries::in_collection() should be able to return error 2019-05-18 13:37:46 +02:00
libimagdiary Add more context in error messages 2019-05-18 00:54:35 +02:00
libimaghabit Add more context in error messages 2019-05-18 00:55:10 +02:00
libimaglog Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagmail Fix: Entries::in_collection() should be able to return error 2019-05-18 13:37:46 +02:00
libimagnotes Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagtimetrack Fix: Entries::in_collection() should be able to return error 2019-05-18 13:37:46 +02:00
libimagtodo Run 'cargo fix' for rust-2018 2019-05-18 00:20:59 +02:00
libimagwiki Fix: Entries::in_collection() should be able to return error 2019-05-18 13:37:46 +02:00