Handbook
Glossary
follow-links ( path -- path' )
Factor handbook
»
Input and output
»
Symbolic links
Prev:
follow-link ( path -- path' )
Next:
make-link ( target symlink -- )
Vocabulary
io
.
files
.
links
Inputs
path
a pathname string
Outputs
path'
a pathname string
Word description
Follows a chain of symlinks up to
symlink-depth
.
See also
read-link
,
follow-link
Definition
USING:
io.backend
io.files.links.private
kernel
namespaces
;
IN:
io.files.links
:
follow-links
( path -- path' )
[
symlink-depth
get
]
dip
normalize-path
(follow-links)
;