summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-08-06 15:25:44 +0200
committerJürg Billeter <j@bitron.ch>2019-08-20 07:41:23 +0200
commite73f4a4ccc608e929ac1e7ba4f7d27ff30f345e6 (patch)
treecb916b153f36cf95c7c3b134343295ce253e4e04
parenta92db9a6cd441a9882792634be42bcb6e603fb81 (diff)
downloadbuildstream-e73f4a4ccc608e929ac1e7ba4f7d27ff30f345e6.tar.gz
cascache.py: Add release_resources() method
This will be used to terminate the buildbox-casd child process.
-rw-r--r--src/buildstream/_cas/cascache.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/buildstream/_cas/cascache.py b/src/buildstream/_cas/cascache.py
index 4a73cb2ee..d4c73d464 100644
--- a/src/buildstream/_cas/cascache.py
+++ b/src/buildstream/_cas/cascache.py
@@ -66,6 +66,13 @@ class CASCache():
if not (os.path.isdir(headdir) and os.path.isdir(objdir)):
raise CASCacheError("CAS repository check failed for '{}'".format(self.casdir))
+ # release_resources():
+ #
+ # Release resources used by CASCache.
+ #
+ def release_resources(self, messenger=None):
+ pass
+
# contains():
#
# Check whether the specified ref is already available in the local CAS cache.