-
-
Notifications
You must be signed in to change notification settings - Fork 617
path.getabsolute
Jason Perkins edited this page Apr 14, 2015
·
10 revisions
The path.getabsolute function function converts a relative path an absolute path.
p = path.getabsolute("path" [, "relativeTo"])
path is the relative path to be converted. It does not need to actually exist on the file system.
relativeTo (optional) specifies an absolute path from which path is considered relative. If not specified, the current working directory will be used.
A new absolute path, calculated from the current working directory, or the "relative to" parameter if provided.