diff options
-rw-r--r-- | buildstream/element.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index 33d996f80..cb04a9c15 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -2091,6 +2091,17 @@ class Element(Plugin): def _buildtree_exists(self): return self.__artifact.buildtree_exists() + # _cached_logs() + # + # Check if the artifact is cached with log files. + # + # Returns: + # (bool): True if artifact is cached with logs, False if + # element not cached or missing logs. + # + def _cached_logs(self): + return self.__artifact.cached_logs() + # _fetch() # # Fetch the element's sources. |