1 USING: help.markup help.syntax io.files.info math ;
5 { $values { "target" "a path to the symbolic link's target" } { "symlink" "a path to new symbolic link" } }
6 { $description "Creates a symbolic link." } ;
9 { $values { "symlink" "a path to an existing symbolic link" } { "path" "the path pointed to by the symbolic link" } }
10 { $description "Reads the symbolic link and returns its target path." } ;
13 { $values { "target" "a path to an existing symlink" } { "symlink" "a path to a new symbolic link" } }
14 { $description "Copies a symbolic link without following the link." } ;
18 { "path" "a pathname string" }
19 { "path'" "a pathname string" }
21 { $description "Returns an absolute path from " { $link read-link } "." } ;
25 { "path" "a pathname string" }
26 { "path'" "a pathname string" }
28 { $description "Follows a chain of symlinks up to " { $link symlink-depth } "." } ;
30 { read-link follow-link follow-links } related-words
36 { $description "The number of redirections " { $link follow-links } " will follow." } ;
38 HELP: too-many-symlinks
40 { "path" "a pathname string" } { "n" integer }
42 { $description "An error thrown when the number of redirections in a chain of symlinks surpasses the value in the " { $link symlink-depth } " variable." } ;
44 ARTICLE: "io.files.links" "Symbolic links"
46 { $subsection read-link }
47 { $subsection follow-link }
48 { $subsection follow-links }
50 { $subsection make-link }
52 { $subsection copy-link }
53 "Not all operating systems support symbolic links."
54 { $see-also link-info } ;
56 ABOUT: "io.files.links"