-
-
Notifications
You must be signed in to change notification settings - Fork 619
os.realpath
Jason Perkins edited this page Apr 14, 2015
·
7 revisions
The os.realpath function returns the canonical absolute path of a filename.
ok, err = os.realpath(path)
This functions calls realpath() on Posix systems and _fullpath on Windows.
path is the path to be converted.
If successful, returns the canonical absolute path. On error, returns nil and an error message.