Upload indexes under their uuids

This commit is contained in:
Clément Renault
2025-10-09 16:44:59 +02:00
parent 94e12af45a
commit 3b75394357
2 changed files with 78 additions and 26 deletions

View File

@@ -425,6 +425,10 @@ impl Index {
self.env.info().map_size
}
pub fn try_clone_inner_file(&self) -> Result<File> {
Ok(self.env.try_clone_inner_file()?)
}
pub fn copy_to_file(&self, file: &mut File, option: CompactionOption) -> Result<()> {
self.env.copy_to_file(file, option).map_err(Into::into)
}