Skip to content

Std filesystem realpath

std:std.filesystem.RealPath

Function RealPath:String( path:String )#

Converts a path to a real path.

If path is a relative path, it is first converted into an absolute path by prefixing the current directory.

Then, any internal './' or '../' references in the path are collapsed.

Parameters
path path The filesystem path.