Expose the documents files from the dumps

This commit is contained in:
Clément Renault
2025-07-17 17:12:18 +02:00
parent 338806283b
commit 760ccffdbd
12 changed files with 70 additions and 0 deletions

View File

@ -210,6 +210,10 @@ impl V4IndexReader {
.map(|line| -> Result<_> { Ok(serde_json::from_str(&line?)?) }))
}
pub fn documents_file(&self) -> &File {
self.documents.get_ref()
}
pub fn settings(&mut self) -> Result<Settings<Checked>> {
Ok(self.settings.clone())
}