]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/directories/directories-docs.factor
(normalize-path) -> absolute-path, canonicalize-path -> resolve-symlinks
[factor.git] / basis / io / directories / directories-docs.factor
index 36b46e19ee11c9e367b0f1667693843437b8e9e2..e93023523d21eaaa8a63d57dcedb0507f11cdd2d 100644 (file)
@@ -119,7 +119,7 @@ ARTICLE: "current-directory" "Current working directory"
     with-directory
 }
 "This variable is independent of the operating system notion of “current working directory”. While all Factor I/O operations use the variable and not the operating system's value, care must be taken when making FFI calls which expect a pathname. The first option is to resolve relative paths:"
-{ $subsections (normalize-path) }
+{ $subsections absolute-path }
 "The second is to change the working directory of the current process:"
 { $subsections
     cd