summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-03-13 16:35:35 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-03-27 16:24:32 +0000
commit60290223f87f17c15a8bd3562a636fe8b7770cfa (patch)
treefd3a75fede307b35ac69d1dbc9ee5cbe432a7b73
parente16416f69ca066393aaf42bb8c8bcf166b77dac8 (diff)
downloadbuildstream-60290223f87f17c15a8bd3562a636fe8b7770cfa.tar.gz
cascache.py: Remove unused method push_directory()
-rw-r--r--buildstream/_cas/cascache.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/buildstream/_cas/cascache.py b/buildstream/_cas/cascache.py
index b5e483310..19020e234 100644
--- a/buildstream/_cas/cascache.py
+++ b/buildstream/_cas/cascache.py
@@ -379,23 +379,6 @@ class CASCache():
return not skipped_remote
- # push_directory():
- #
- # Push the given virtual directory to a remote.
- #
- # Args:
- # remote (CASRemote): The remote to push to
- # directory (Directory): A virtual directory object to push.
- #
- # Raises:
- # (CASCacheError): if there was an error
- #
- def push_directory(self, remote, directory):
- remote.init()
-
- digest = directory._get_digest()
- self._send_directory(remote, digest)
-
# objpath():
#
# Return the path of an object based on its digest.