-
-
Notifications
You must be signed in to change notification settings - Fork 616
path.getabsolute
starkos edited this page Apr 10, 2021
·
10 revisions
This wiki is no longer being maintained.
Converts a relative path to 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.
If provided, relativeTo
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 relativeTo
parameter if provided.
Premake 4.0 or later. The relativeTo
parameter is available in Premake 5.0 or later.