diff --git a/src/backup/datastore.rs b/src/backup/datastore.rs index d52397fd..98944e59 100644 --- a/src/backup/datastore.rs +++ b/src/backup/datastore.rs @@ -84,6 +84,15 @@ impl DataStore { }) } + pub fn get_chunk_iterator( + &self, + ) -> Result< + impl Iterator>, + Error + > { + self.chunk_store.get_chunk_iterator() + } + pub fn create_fixed_writer>(&self, filename: P, size: usize, chunk_size: usize) -> Result { let index = FixedIndexWriter::create(self.chunk_store.clone(), filename.as_ref(), size, chunk_size)?;