diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-11-19 18:17:26 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-11-19 22:36:03 +0100 |
commit | edbd8f3f7eeb0e49c03ca611e43b5a777bd0c762 (patch) | |
tree | 4abe14a10409a4d7990def85a041e3456e95e600 /doc | |
parent | 201cbcac3e9c23cc28352fa9ece3e677e22cc12c (diff) |
utils: Add #:copy-file parameter to 'copy-recursively'.
* guix/build/utils.scm (copy-recursively): Add #:copy-file and honor it.
* doc/guix.texi (Build Utilities): Adjust accordingly.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 6f4a3ac5cc..84e5691cf1 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -7778,12 +7778,13 @@ Make @var{file} writable for its owner. @end deffn @deffn {Scheme Procedure} copy-recursively @var{source} @var{destination} @ - [#:log (current-output-port)] [#:follow-symlinks? #f] [#:keep-mtime? #f] + [#:log (current-output-port)] [#:follow-symlinks? #f] @ + [#:copy-file copy-file] [#:keep-mtime? #f] Copy @var{source} directory to @var{destination}. Follow symlinks if -@var{follow-symlinks?} is true; otherwise, just preserve them. When -@var{keep-mtime?} is true, keep the modification time of the files in -@var{source} on those of @var{destination}. Write verbose output to the -@var{log} port. +@var{follow-symlinks?} is true; otherwise, just preserve them. Call +@var{copy-file} to copy regular files. When @var{keep-mtime?} is true, +keep the modification time of the files in @var{source} on those of +@var{destination}. Write verbose output to the @var{log} port. @end deffn @deffn {Scheme Procedure} delete-file-recursively @var{dir} @ |