diff options
author | Jürg Billeter <j@bitron.ch> | 2018-04-19 08:26:42 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-05-11 08:01:12 +0200 |
commit | 095ce5a504f024c78991a396d25598d999bac017 (patch) | |
tree | 94da10063af72d3d49e1e75ec6f2ebc26f8a39b2 /buildstream/_artifactcache/artifactcache.py | |
parent | 17fd0b24086f25d9fcd83e5b75b391953377e618 (diff) | |
download | buildstream-095ce5a504f024c78991a396d25598d999bac017.tar.gz |
_artifactcache/artifactcache.py: Remove unused methods
Diffstat (limited to 'buildstream/_artifactcache/artifactcache.py')
-rw-r--r-- | buildstream/_artifactcache/artifactcache.py | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/buildstream/_artifactcache/artifactcache.py b/buildstream/_artifactcache/artifactcache.py index 17038105d..9cc281524 100644 --- a/buildstream/_artifactcache/artifactcache.py +++ b/buildstream/_artifactcache/artifactcache.py @@ -274,41 +274,6 @@ class ArtifactCache(): def has_push_remotes(self, *, element=None): return False - # remote_contains(): - # - # Check whether the artifact for the specified Element is already available - # in any remote artifact cache. - # - # Args: - # element (Element): The Element to check - # key (str): The cache key to use - # - # Returns: True if the artifact is in a cache, False otherwise - # - def remote_contains(self, element, key): - return False - - # push_needed(): - # - # Check whether an artifact for the specified Element needs to be pushed to - # any of the configured push remotes. The policy is to push every artifact - # we build to every configured push remote, so this should only return False - # if all of the configured push remotes already contain the given artifact. - # - # This function checks for presence of the artifact only using its strong - # key. The presence of the weak key in a cache does not necessarily indicate - # that this particular artifact is present, only that there is a - # partially-compatible version available. - # - # Args: - # element (Element): The Element to check - # key (str): The cache key to use - # - # Returns: False if all the push remotes have the artifact, True otherwise - # - def push_needed(self, element, key): - return False - # push(): # # Push committed artifact to remote repository. |