Implement a first version of the snapshots

This commit is contained in:
Kerollmops
2022-10-25 14:09:01 +02:00
committed by Clément Renault
parent c063f154fb
commit eec43ec953
5 changed files with 92 additions and 11 deletions

View File

@ -30,7 +30,7 @@ pub struct IndexMapper {
// TODO create a UUID Codec that uses the 16 bytes representation
/// Map an index name with an index uuid currently available on disk.
index_mapping: Database<Str, SerdeBincode<Uuid>>,
pub(crate) index_mapping: Database<Str, SerdeBincode<Uuid>>,
/// Path to the folder where the LMDB environments of each index are.
base_path: PathBuf,