summaryrefslogtreecommitdiff
path: root/src/buildstream/_sourcecache.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_sourcecache.py')
-rw-r--r--src/buildstream/_sourcecache.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/buildstream/_sourcecache.py b/src/buildstream/_sourcecache.py
index fdfe00901..b39874b20 100644
--- a/src/buildstream/_sourcecache.py
+++ b/src/buildstream/_sourcecache.py
@@ -126,18 +126,6 @@ class SourceCache(BaseCache):
except SourceCacheError:
pass
- # required_sources()
- #
- # Yields the keys of all sources marked as required by the current build
- # plan
- #
- # Returns:
- # iterable (str): iterable over the required source refs
- #
- def required_sources(self):
- for source in self._required_sources:
- yield source._get_source_name()
-
# unrequired_sources()
#
# Yields the refs of all sources not required by the current build plan