Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
follow-link ( path -- path' )
Factor handbook
>
Input and output
>
Symbolic links
Prev:
read-link ( symlink -- path )
Next:
follow-links ( path -- path' )
Vocabulary
io.files.links
Inputs and outputs
path
a pathname string
path'
a pathname string
Word description
Returns an absolute path from
read-link
.
See also
read-link
,
follow-links
Definition
USING:
io.pathnames
kernel
;
IN:
io.files.links
:
follow-link
( path -- path' )
[
parent-directory
]
[
read-link
]
bi
append-path
;