current-directory - Factor Documentation (original) (raw)

Vocabulary
io.pathnames

Word description
A variable holding the current directory as an absolute path. Words that use the filesystem do so in relation to this variable.

This variable should never be set directly; instead, use set-current-directory or with-directory. This preserves the invariant that the value of this variable is an absolute path.

See also
cd, cwd, set-current-directory, with-directory

Variable value
Current value in global namespace:

"/Users/jbenedik/builds64/2025-04-29-10-40/factor"

Definition