move sweep_used_chunks to chunk_store

This commit is contained in:
Dietmar Maurer
2018-12-18 11:18:55 +01:00
parent 3d5c11e5d2
commit 6ea3a0b7fc
2 changed files with 7 additions and 6 deletions

View File

@ -163,6 +163,11 @@ impl ChunkStore {
Ok(())
}
pub fn sweep_used_chunks(&mut self) -> Result<(), Error> {
Ok(())
}
pub fn insert_chunk(&mut self, chunk: &[u8]) -> Result<(bool, [u8; 32]), Error> {
self.hasher.reset();