You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:47:17 UTC
[buildstream] 15/17: Directory.py: link_ok=>can_link (consistent
with other use)
This is an automated email from the ASF dual-hosted git repository.
not-in-ldap pushed a commit to branch jmac/virtual_directories_test
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit cbc55394d2a585a9ca5a3038d2c2e8f25d52882e
Author: Jim MacArthur <ji...@codethink.co.uk>
AuthorDate: Wed May 9 12:51:13 2018 +0100
Directory.py: link_ok=>can_link (consistent with other use)
---
buildstream/sandbox/Directory.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/buildstream/sandbox/Directory.py b/buildstream/sandbox/Directory.py
index 4107496..0a60fce 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: