Matthias Beyer
a2ff298e67
This patch rewrites the Store::entries() function to not be collecting the iterator. It therefore introduces a new, internal, iterator type which creates the StoreId objects from the pathes the PathIterator yields internally. With this patch, the Store iterator interface changes, as the iterators now yield `Result<StoreId, StoreError>` instead of `StoreId`. This is necessary, as the internal conversion errors shouldn't be hidden. Of course, the iterator types (like the StoreGetIterator and so on) should hold a Result<StoreId> internally as well, and also yield appropritely. This was changed in this commit, too. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md |
libimagstore
The store is the heart of everything. Here lives the data, the complexity and the performance bottleneck.
The store offeres read/write access to all entries.
The store itself does not offer functionality, but has a commandline interface "imag-store" which can do basic things with the store.
Long-term TODO
- Merge with
libimagrt