JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

os/realpath

core-api


    cfunction
    src/core/os.c on line 2459, column 1

    (os/realpath path)

    Get the absolute path for a given path, following ../, ./, and 
    symlinks. Returns an absolute path as a string.


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

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