Combine two DistinctivePath
s.
Utility function to create a DirectoryPath
Transform a string into a DistinctivePath
.
Directories should have the format path/to/dir/
and
files should have the format path/to/file
.
Leading forward slashes are removed too, so you can pass absolute paths.
Is this DistinctivePath
of the given Branch
?
Is this DistinctivePath
a directory?
Is this DistinctivePath
a file?
Is this DirectoryPath
a root directory?
Check if two DistinctivePath
have the same Branch
.
Check if two DistinctivePath
are of the same kind.
What Kind
of path are we dealing with?
Render a raw Path
to a string for logging purposes.
Map a DistinctivePath
.
Get the parent directory of a DistinctivePath
.
Remove the Branch
of a DistinctivePath
(ie. the top-level directory)
Utility function to create a root DirectoryPath
Get the last part of the path.
Transform a DistinctivePath
into a string.
Directories will have the format path/to/dir/
and
files will have the format path/to/file
.
Unwrap a DistinctivePath
.
Generated using TypeDoc
The primarily used type for paths.