summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-03-13 16:35:35 +0000
committerJürg Billeter <j@bitron.ch>2019-03-25 14:59:18 +0100
commit4833a50577030209c829547661cce0f3294b5b04 (patch)
treeada6fc4d972b8aa31d1920159e71d5437c9adfb9
parentb7c8188c84523d52c371593b6c0e76ee7c6227e8 (diff)
downloadbuildstream-juerg/partial-cas-remote.tar.gz
cascache.py: Remove unused method push_directory()juerg/partial-cas-remote
-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.