mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 21:20:24 +01:00
Update index-scheduler/src/lib.rs
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
This commit is contained in:
parent
3bcff60d1c
commit
bf94f89035
@ -902,7 +902,7 @@ impl IndexScheduler {
|
||||
Ok(self.file_store.new_update_with_uuid(uuid)?)
|
||||
}
|
||||
|
||||
/// List the update files contained in the IndexScheduler.
|
||||
/// The size on disk taken by all the updates files contained in the `IndexScheduler`, in bytes.
|
||||
pub fn update_file_size(&self) -> Result<u64> {
|
||||
Ok(self.file_store.update_total_size()?)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user