diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-03-23 05:53:51 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-03-23 05:53:51 +0000 |
commit | f44770ab64d465c099ca893a0536e467052f9d3b (patch) | |
tree | e45cfffc298033cc34c8b9d7bed894e4696c55f8 /src/indexedstore.rs | |
parent | 4a9b26903d48d622f7f2a01eb54eec88e92da868 (diff) | |
parent | d692b1877a18e83e23cfbcad1b5e9f91f561e7c1 (diff) | |
download | obnam2-f44770ab64d465c099ca893a0536e467052f9d3b.tar.gz |
Merge branch 'liw/trust-root' into 'main'
Add chunk that lists all generations
Closes #62 and #34
See merge request obnam/obnam!224
Diffstat (limited to 'src/indexedstore.rs')
-rw-r--r-- | src/indexedstore.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/indexedstore.rs b/src/indexedstore.rs index 46f9e72..15b5a22 100644 --- a/src/indexedstore.rs +++ b/src/indexedstore.rs @@ -68,11 +68,6 @@ impl IndexedStore { Ok(self.index.find_by_label(label)?) } - /// Find all generations. - pub fn find_generations(&self) -> Result<Vec<ChunkId>, IndexedError> { - Ok(self.index.find_generations()?) - } - /// Remove a chunk from the store. pub fn remove(&mut self, id: &ChunkId) -> Result<(), IndexedError> { self.index.remove_meta(id)?; |