imag/lib/entry
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
..
libimagentryannotation Fix: Entries::in_collection() should be able to return error 2019-05-18 13:37:46 +02:00
libimagentrycategory Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentrydatetime Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentryedit Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentryfilter Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentrygps Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentrylink Remove InternalLinker::set_internal_links() 2019-05-18 02:31:03 +02:00
libimagentrymarkdown Run 'cargo fix' for rust-2018 2019-05-18 00:20:59 +02:00
libimagentryref Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentrytag Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentryutil Add more context in error messages 2019-05-18 00:55:10 +02:00
libimagentryview Add more context in error messages 2019-05-18 00:55:10 +02:00