From 2ddcc45138adaabd4b9c81d96c859c76794978bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Tue, 11 Feb 2020 21:06:43 +0100 Subject: _workspaces.py: Remove unused stage() method --- src/buildstream/_workspaces.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/buildstream/_workspaces.py b/src/buildstream/_workspaces.py index 5c3b4af8f..478b7d3b5 100644 --- a/src/buildstream/_workspaces.py +++ b/src/buildstream/_workspaces.py @@ -300,21 +300,6 @@ class Workspace: def differs(self, other): return self.to_dict() != other.to_dict() - # stage() - # - # Stage the workspace to the given directory. - # - # Args: - # directory (str) - The directory into which to stage this workspace - # - def stage(self, directory): - fullpath = self.get_absolute_path() - if os.path.isdir(fullpath): - utils.copy_files(fullpath, directory) - else: - destfile = os.path.join(directory, os.path.basename(self.get_absolute_path())) - utils.safe_copy(fullpath, destfile) - # add_running_files() # # Append a list of files to the running_files for the given -- cgit v1.2.1