summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-08-06 15:25:44 +0200
committerDarius Makovsky <traveltissues@protonmail.com>2019-08-19 12:27:53 +0100
commit9797ae6314043816bfc83789aa88651e37820eb3 (patch)
tree2353575e3ea5d548db7c20a94beed5229052979c
parent2881d3101839540f2c18fa3682b86ae54b4f11a4 (diff)
downloadbuildstream-9797ae6314043816bfc83789aa88651e37820eb3.tar.gz
cascache.py: Add cleanup() 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 027c32e19..ec9673128 100644
--- a/src/buildstream/_cas/cascache.py
+++ b/src/buildstream/_cas/cascache.py
@@ -65,6 +65,13 @@ class CASCache():
if not (os.path.isdir(headdir) and os.path.isdir(objdir)):
raise CASCacheError("CAS repository check failed for '{}'".format(self.casdir))
+ # cleanup():
+ #
+ # Release resources used by CASCache.
+ #
+ def cleanup(self):
+ pass
+
# contains():
#
# Check whether the specified ref is already available in the local CAS cache.