fix uuid store size

This commit is contained in:
mpostma 2021-09-28 12:05:22 +02:00
parent 539a57026d
commit bcaee4d179
2 changed files with 3 additions and 9 deletions

View file

@ -70,9 +70,8 @@ where U: UuidStore,
Ok(indexes)
}
pub async fn get_size(&self) -> Result<u64> {
todo!()
//Ok(self.index_store.get_size()? + self.index_uuid_store.get_size().await?)
pub async fn get_uuids_size(&self) -> Result<u64> {
Ok(self.index_uuid_store.get_size().await?)
}
pub async fn snapshot(&self, path: impl AsRef<Path>) -> Result<Vec<Index>> {