summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/element.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index c09bb2d18..efec5e714 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -2417,6 +2417,14 @@ class Element(Plugin):
rdep.__buildable_callback(rdep)
rdep.__buildable_callback = None
+ # _walk_artifact_files()
+ #
+ # A generator which yields all of the files cached in the
+ # element's artifact.
+ #
+ # Yields:
+ # (str): Filenames in the artifact
+ #
def _walk_artifact_files(self):
yield from self.__artifact.get_files().walk()