diff options
author | Jürg Billeter <j@bitron.ch> | 2020-04-15 11:30:50 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-04-20 14:27:16 +0200 |
commit | 442b1318bd4d38fe35770e2108bf4d963a093af3 (patch) | |
tree | 177fb0818ea70eac8db3bef8386d962a5018b6dc | |
parent | 908f1433fe93b202012f7bf124c68e5ac6b9fbb3 (diff) | |
download | buildstream-442b1318bd4d38fe35770e2108bf4d963a093af3.tar.gz |
_cas/cascache.py: Drop unused contains_file()
-rw-r--r-- | src/buildstream/_cas/cascache.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/buildstream/_cas/cascache.py b/src/buildstream/_cas/cascache.py index 9fbae67a4..74912c4e2 100644 --- a/src/buildstream/_cas/cascache.py +++ b/src/buildstream/_cas/cascache.py @@ -183,18 +183,6 @@ class CASCache: response = cas.FindMissingBlobs(request) return len(response.missing_blob_digests) == 0 - # contains_file(): - # - # Check whether a digest corresponds to a file which exists in CAS - # - # Args: - # digest (List[Digest]): The file digests to check - # - # Returns: True if the file is in the cache, False otherwise - # - def contains_file(self, digest): - return self.contains_files([digest]) - # contains_directory(): # # Check whether the specified directory and subdirectories are in the cache, |