This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/os.realpath.md
2021-03-12 22:10:24 +01:00

531 B

Returns the canonical absolute path of a filename.

ok, err = os.realpath(path)

This functions calls realpath() on Posix systems and _fullpath on Windows.

Parameters

path is the path to be converted.

Return Value

If successful, returns the canonical absolute path. On error, returns nil and an error message.

Availability

Premake 5.0 or later.

See Also