Path
A hierarchical identifier for a file in a file system.
A path consists of a root URI and a list of names. The root URI identifies the root of the file hierarchy, including the file system which is identified by the scheme of the root URI. The list of names identifies the file within its file hierarchy, and each name is a non-empty byte string that doesn't contain the URI path separator /
.
As such, a path is always absolute, and a relative identifier consisting of only a list of names is represented by a RelativePath.
A path is an immutable data object independent of file systems, and can be converted to/from a URI for presentation and serialization.
See also
Properties
Functions
Check whether this path ends with a relative path.
Get a relative path between this path and another path.
Resolve a file name against the parent of this path.
Check whether this path starts with another path.
Get a relative path consisting of a sublist of names of this path.