You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by gi...@apache.org on 2020/12/29 13:11:23 UTC

[buildstream] 14/41: Directory.py: link_ok=>can_link (consistent with other use)

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch jmac/googlecas_and_virtual_directories_1
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit c9766addeded711fc310dd65718f589c2bd06cd2
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: