diff options
-rw-r--r-- | buildstream/_artifactcache/artifactcache.py | 9 | ||||
-rw-r--r-- | buildstream/_artifactcache/cascache.py | 3 |
2 files changed, 0 insertions, 12 deletions
diff --git a/buildstream/_artifactcache/artifactcache.py b/buildstream/_artifactcache/artifactcache.py index f33b112bc..4aa7ec555 100644 --- a/buildstream/_artifactcache/artifactcache.py +++ b/buildstream/_artifactcache/artifactcache.py @@ -242,15 +242,6 @@ class ArtifactCache(): raise ImplError("Cache '{kind}' does not implement commit()" .format(kind=type(self).__name__)) - # can_diff(): - # - # Whether this cache implementation can diff (unfortunately - # there's no way to tell if an implementation is going to throw - # ImplError without abc). - # - def can_diff(self): - return False - # diff(): # # Return a list of files that have been added or modified between diff --git a/buildstream/_artifactcache/cascache.py b/buildstream/_artifactcache/cascache.py index a3fd16af4..4f61edd7d 100644 --- a/buildstream/_artifactcache/cascache.py +++ b/buildstream/_artifactcache/cascache.py @@ -113,9 +113,6 @@ class CASCache(ArtifactCache): for ref in refs: self.set_ref(ref, tree) - def can_diff(self): - return True - def diff(self, element, key_a, key_b, *, subdir=None): ref_a = self.get_artifact_fullname(element, key_a) ref_b = self.get_artifact_fullname(element, key_b) |