From 10d35a0405982f2117d23a4c368562ba6c18dc97 Mon Sep 17 00:00:00 2001 From: Darius Makovsky Date: Tue, 24 Dec 2019 11:04:16 +0000 Subject: _sourcecache: remove unused list_sources --- src/buildstream/_sourcecache.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/buildstream/_sourcecache.py b/src/buildstream/_sourcecache.py index 221694e94..85e9dd65b 100644 --- a/src/buildstream/_sourcecache.py +++ b/src/buildstream/_sourcecache.py @@ -132,16 +132,6 @@ class SourceCache(BaseCache): self._basedir = os.path.join(context.cachedir, "source_protos") os.makedirs(self._basedir, exist_ok=True) - # list_sources() - # - # Get list of all sources in the `sources_protos/` folder - # - # Returns: - # ([str]): iterable over all source refs - # - def list_sources(self): - return [ref for _, ref in self._list_refs_mtimes(self._basedir)] - # contains() # # Given a source, gets the ref name and checks whether the local CAS -- cgit v1.2.1