summaryrefslogtreecommitdiff
path: root/obnamlib/repo_interface.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-07-02 18:00:16 +0000
committerLars Wirzenius <liw@liw.fi>2016-07-02 18:00:16 +0000
commitd8039d3432118597555a249d22e5f75b6808792a (patch)
treeb67347c7faa09719ac2ee936d4920952e4b4cfec /obnamlib/repo_interface.py
parent586900a585cb7924349a4011e0268752305bcf2b (diff)
downloadobnam-d8039d3432118597555a249d22e5f75b6808792a.tar.gz
Drop r/o caches while forgetting to reduce memory use
Diffstat (limited to 'obnamlib/repo_interface.py')
-rw-r--r--obnamlib/repo_interface.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/obnamlib/repo_interface.py b/obnamlib/repo_interface.py
index 26bc1d34..ab8d6960 100644
--- a/obnamlib/repo_interface.py
+++ b/obnamlib/repo_interface.py
@@ -553,6 +553,16 @@ class RepositoryInterface(object):
'''
+ def flush_ro_client(self, client_name):
+ '''Flush cached read-only data from client.
+
+ This does not require the client to be locked.
+
+ This is a NOP, unless the a specific repository format gives
+ it meaning.
+
+ '''
+
def commit_client(self, client_name):
'''Commit changes to client and DO NOT unlock it.