JanetDocsPlaygroundI'm feeling luckyGitHub sign in

os/realpath



    cfunction

    (os/realpath path)

    Get the absolute path for a given path, following ../, ./, and 
    symlinks. Returns an absolute path as a string. Will raise an error 
    on Windows.


1 exampleSign in to add an example
Loading...
(os/realpath ".") # => "/home/jgarte"

(os/realpath "Downloads") # => "/home/jgarte/Downloads"
jgartePlayground