Handbook
Glossary
copy-link ( target symlink -- )
Factor handbook
»
Input and output
»
Symbolic links
Prev:
make-link ( target symlink -- )
Vocabulary
io
.
files
.
links
Inputs
target
a path to an existing symlink
symlink
a path to a new symbolic link
Outputs
None
Word description
Copies a symbolic link without following the link.
Definition
USING:
kernel
;
IN:
io.files.links
:
copy-link
( target symlink -- )
[
read-link
]
dip
make-link
;