Path
Properties
Functions
Link copied to clipboard
Resolves the given name relative to this path.
Absolute path.
Link copied to clipboard
Iterate over all ancestors of this path, starting with the root path (if absolute) or the first segment (if relative) and not including this path.
Link copied to clipboard
Returns whether absolute is set.
Link copied to clipboard
Calculates a path relative to this path.
Relative path.
Link copied to clipboard
Remove first segments.
Link copied to clipboard
Segment count.
Link copied to clipboard
returns an immutable list of the segments of this path
Link copied to clipboard
Determines if this path starts with the given path.
Link copied to clipboard
Returns a
Path containing only the first n segments of this Path.Link copied to clipboard
throws if no path is specified