Matthias Beyer
5c8af4460e
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> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
libimagentryannotation
This library provides annotation functionality for entries.
Annotations are normal Store entries, but their header at
annotation.is_annotation
is set to true
.
Annotations are linked to an entry (as in libimagentrylink
).
Library functionality
The library features two traits: One to extend an Entry
with annotation
functionality and another one for extending the Store
with functionality to
get annotations of an entry and all annotations in the store.