diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-07-02 18:00:16 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-07-02 18:00:16 +0000 |
commit | d8039d3432118597555a249d22e5f75b6808792a (patch) | |
tree | b67347c7faa09719ac2ee936d4920952e4b4cfec /obnamlib/repo_interface.py | |
parent | 586900a585cb7924349a4011e0268752305bcf2b (diff) | |
download | obnam-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.py | 10 |
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. |