- Companion:
- class
Type members
Classlikes
Represent the current tree node.
Represent the current tree node.
Represent a parent path that is the specified number of levels above the current path.
Represent a parent path that is the specified number of levels above the current path.
Value members
Concrete methods
Creates a relative path from interpreting the specified string representation.
Creates a relative path from interpreting the specified string representation.
A slash prefix, if present, will be discarded. Paths starting with one or more ../
path prefixes will be interpreted as expected, pointing to parent trees.
If you need to parse a string that can potentially represent both, an absolute or a relative
path, use the PathBase.parse
method instead.
Empty path segments are allowed, but should usually be avoided for usability reasons.