cli: prettier table in garage stats

This commit is contained in:
Alex Auvolat
2022-12-13 15:43:22 +01:00
parent d7f90cabb0
commit d6040e32a6
7 changed files with 93 additions and 39 deletions
+4
View File
@@ -293,6 +293,10 @@ where
Ok(self.data.merkle_tree.len()?)
}
pub fn merkle_tree_fast_len(&self) -> Result<Option<usize>, Error> {
Ok(self.data.merkle_tree.fast_len()?)
}
pub fn todo_len(&self) -> Result<usize, Error> {
Ok(self.data.merkle_todo.len()?)
}