Path

Path.

The concept of a "pure path" doesn't need to be modelled in D as it has pure functions. See https://docs.python.org/3/library/pathlib.html#pure-paths.

See: SUMO:ComputerPath.

Constructors

this
this(string str, bool normalize)
Undocumented in source.

Members

Functions

opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source.

Variables

str
string str;
Undocumented in source.

Examples

assert(Path("/usr/bin/").toString == "/usr/bin/");

Meta