summaryrefslogtreecommitdiff
path: root/obnamlib/fmt_ga/tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'obnamlib/fmt_ga/tree.py')
-rw-r--r--obnamlib/fmt_ga/tree.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/obnamlib/fmt_ga/tree.py b/obnamlib/fmt_ga/tree.py
index a10a7c48..dc5cdf9b 100644
--- a/obnamlib/fmt_ga/tree.py
+++ b/obnamlib/fmt_ga/tree.py
@@ -136,6 +136,9 @@ class GATree(object):
self._blob_store.flush()
self._cache.clear()
+ def flush_ro(self): # pragma: no cover
+ self._cache.clear()
+
def _fixup_subdir_refs(self, pathname):
dir_obj = self._cache.get(pathname)
assert dir_obj is not None, 'expected %s in cache' % pathname