summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-02-11 21:06:43 +0100
committerJürg Billeter <j@bitron.ch>2020-02-11 21:07:39 +0100
commit2ddcc45138adaabd4b9c81d96c859c76794978bc (patch)
tree108eab277a8ee05bb8d05d73c3d2faf77a84e014
parent41168e486c1da2b41fd4745b1eb83e6764b86da3 (diff)
downloadbuildstream-2ddcc45138adaabd4b9c81d96c859c76794978bc.tar.gz
_workspaces.py: Remove unused stage() method
-rw-r--r--src/buildstream/_workspaces.py15
1 files changed, 0 insertions, 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