summaryrefslogtreecommitdiff
path: root/obnamlib/fmt_ga/indexes.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-12-21 19:24:16 +0100
committerLars Wirzenius <liw@liw.fi>2015-12-21 22:38:37 +0100
commit67abb6ad1091722617c7517d3d9100bf60af7ac0 (patch)
treeda1adf499b1203955b4a8d100e707c7d52d7ce3b /obnamlib/fmt_ga/indexes.py
parent637fc8bc3843d9f1f77f75cc5c2e12e0ec594270 (diff)
downloadobnam-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.py4
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