Small fixes

This commit is contained in:
Alex Auvolat
2021-03-15 19:51:16 +01:00
parent 642bed601f
commit 667e4e72a8
5 changed files with 37 additions and 16 deletions
+5 -1
View File
@@ -18,7 +18,7 @@ pub struct TableData<F: TableSchema> {
pub instance: F,
pub store: sled::Tree,
pub gc_todo: sled::Tree,
pub(crate) gc_todo: sled::Tree,
pub merkle_updater: Arc<MerkleUpdater>,
}
@@ -239,4 +239,8 @@ where
},
}
}
pub fn gc_todo_len(&self) -> usize {
self.gc_todo.len()
}
}