View source
abstract thx.Path(Array<String>)
Available on all platforms
Path
represents a pointer to a directory or file in a filesystem.
It supports both win32 and (U)nix style of path and tries to guess the correct type when parsing a string. If the guessing is not possible it assumes the Nix style by default.
Path can be conveted from/to styles using toWin32
and toNix
.
Path are immutable objects and can combined using the /
operator.
Ex.
var p : Path = "/usr/local",
dir = "haxe";
trace(p / dir); // prints "/usr/local/haxe"