diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-12-21 19:24:16 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-12-21 22:38:37 +0100 |
commit | 67abb6ad1091722617c7517d3d9100bf60af7ac0 (patch) | |
tree | da1adf499b1203955b4a8d100e707c7d52d7ce3b /obnamlib/fmt_ga/indexes.py | |
parent | 637fc8bc3843d9f1f77f75cc5c2e12e0ec594270 (diff) | |
download | obnam-67abb6ad1091722617c7517d3d9100bf60af7ac0.tar.gz |
Make remove_unused_chunks require chunk indexes lock
Also, move remove_unused_chunks to chunk indexes.
Diffstat (limited to 'obnamlib/fmt_ga/indexes.py')
-rw-r--r-- | obnamlib/fmt_ga/indexes.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/obnamlib/fmt_ga/indexes.py b/obnamlib/fmt_ga/indexes.py index 582fa77a..8c6cc5f2 100644 --- a/obnamlib/fmt_ga/indexes.py +++ b/obnamlib/fmt_ga/indexes.py @@ -148,5 +148,9 @@ class GAChunkIndexes(object): if chunk_id in used_by: del used_by[chunk_id] + def remove_unused_chunks(self, chunk_store): + # FIXME: This is a no-op operation, for now. + pass + def validate_chunk_content(self, chunk_id): return None |