diff options
author | Raoul Hidalgo Charman <raoul.hidalgocharman@codethink.co.uk> | 2019-05-20 12:10:22 +0100 |
---|---|---|
committer | Raoul Hidalgo Charman <raoul.hidalgocharman@codethink.co.uk> | 2019-05-22 14:09:23 +0100 |
commit | 3d2a51b39cdf6e0ae415136d3c36ce09c68ec8ae (patch) | |
tree | c08e398353bbf2a40ab38e82adc258fe98f9740d /src/buildstream/utils.py | |
parent | e7dee9ed0049188f9541e36316c22d0e10a55818 (diff) | |
download | buildstream-3d2a51b39cdf6e0ae415136d3c36ce09c68ec8ae.tar.gz |
utils.py: remove misleading documentationraoul/983-cas-source-staging
copy_files and link_files suggested that a single file path is a valid argument
when it isn't.
Diffstat (limited to 'src/buildstream/utils.py')
-rw-r--r-- | src/buildstream/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/utils.py b/src/buildstream/utils.py index ade593750..f509ce998 100644 --- a/src/buildstream/utils.py +++ b/src/buildstream/utils.py @@ -356,7 +356,7 @@ def copy_files(src, dest, *, filter_callback=None, ignore_missing=False, report_ """Copy files from source to destination. Args: - src (str): The source file or directory + src (str): The source directory dest (str): The destination directory filter_callback (callable): Optional filter callback. Called with the relative path as argument for every file in the source directory. The file is @@ -395,7 +395,7 @@ def link_files(src, dest, *, filter_callback=None, ignore_missing=False, report_ """Hardlink files from source to destination. Args: - src (str): The source file or directory + src (str): The source directory dest (str): The destination directory filter_callback (callable): Optional filter callback. Called with the relative path as argument for every file in the source directory. The file is |