Matthias Beyer
42e2f18fb3
Because the iterators need to be able to check whether the file exists _in the backend_ (not on disk, but in the backend, because of in-memory test for example), we need to be able to pass the backend to the iterator intermediate type. This patch implements this. It does so by changing the internal backend member of the store from `Box<FileAbstraction>` to `Arc<FileAbstraction>`, which gives us the ability to clone the reference to the backend easily without needing to rely on lifetimes here, because of the Arc. Also, less boxes are always good. |
||
---|---|---|
.. | ||
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