summaryrefslogtreecommitdiff
path: root/src/buildstream/_sourcecache.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-06-13 17:48:21 +0200
committerJürg Billeter <j@bitron.ch>2019-08-20 07:41:23 +0200
commit8a6fc3a4650e97950376efc9ce00a001cc614e95 (patch)
treee1949e3cccde87c253e168152c7ccaa620d30fa5 /src/buildstream/_sourcecache.py
parent904f77f01267b4607a2f0bd3687d8b6e6d296ec8 (diff)
downloadbuildstream-8a6fc3a4650e97950376efc9ce00a001cc614e95.tar.gz
Remove CASQuota and CASCacheUsage
Diffstat (limited to 'src/buildstream/_sourcecache.py')
-rw-r--r--src/buildstream/_sourcecache.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/buildstream/_sourcecache.py b/src/buildstream/_sourcecache.py
index b39874b20..bc5fad71b 100644
--- a/src/buildstream/_sourcecache.py
+++ b/src/buildstream/_sourcecache.py
@@ -98,9 +98,6 @@ class SourceCache(BaseCache):
self.sourcerefdir = os.path.join(context.cachedir, 'source_protos')
os.makedirs(self.sourcerefdir, exist_ok=True)
- self.casquota.add_remove_callbacks(self.unrequired_sources, self._remove_source)
- self.casquota.add_list_refs_callback(self.list_sources)
-
self.cas.add_reachable_directories_callback(self._reachable_directories)
# mark_required_sources()