From 60290223f87f17c15a8bd3562a636fe8b7770cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Wed, 13 Mar 2019 16:35:35 +0000 Subject: cascache.py: Remove unused method push_directory() --- buildstream/_cas/cascache.py | 17 ----------------- 1 file changed, 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. -- cgit v1.2.1