summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim.macarthur@codethink.co.uk>2018-05-09 12:51:13 +0100
committerJim MacArthur <jim.macarthur@codethink.co.uk>2018-05-17 10:10:30 +0100
commitc9766addeded711fc310dd65718f589c2bd06cd2 (patch)
tree74236e0bf45030497ed56aebfd54ed0c84edec30
parent27a83e1ec9206339b0792d5150b74c06b1b275b0 (diff)
downloadbuildstream-c9766addeded711fc310dd65718f589c2bd06cd2.tar.gz
Directory.py: link_ok=>can_link (consistent with other use)
-rw-r--r--buildstream/sandbox/Directory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/sandbox/Directory.py b/buildstream/sandbox/Directory.py
index 410749616..0a60fce0e 100644
--- a/buildstream/sandbox/Directory.py
+++ b/buildstream/sandbox/Directory.py
@@ -53,7 +53,7 @@ class Directory():
# Import and export of files and links
def import_files(self, external_pathspec: any, files: List[str] = None,
report_written: bool = True, update_utimes: bool = False,
- link_ok: bool = False) -> FileListResult:
+ can_link: bool = False) -> FileListResult:
"""Imports some or all files from external_path into this directory.
Keyword arguments: external_pathspec: Either a string
@@ -80,7 +80,7 @@ class Directory():
raise NotImplementedError()
- def export_files(self, to_directory: str, link_ok: bool = False) -> None:
+ def export_files(self, to_directory: str, can_link: bool = False) -> None:
"""Copies everything from this into to_directory.
Arguments: