diff --git a/src/backup/datastore.rs b/src/backup/datastore.rs index f21588aa..85d16456 100644 --- a/src/backup/datastore.rs +++ b/src/backup/datastore.rs @@ -13,6 +13,7 @@ use crate::config::datastore; use super::chunk_store::*; use super::fixed_index::*; use super::dynamic_index::*; +use super::index::*; use chrono::{Utc, TimeZone}; @@ -134,6 +135,20 @@ impl DataStore { Ok(index) } + pub fn open_index
(&self, filename: P) -> Result