- concat
Concatenate path elements.
- elements
Returns an Iterable for the path elements. The root path ("/") and the empty
path ("") have zero ele
- getName
Get the last element of the (absolute or relative) path. The name of the root
node ("/") and the nam
- getParentPath
Get the parent of a path. The parent of the root path ("/") is the root path.
- denotesRoot
Whether the path is the root path ("/").
- getAncestorPath
Get the nth ancestor of a path. The 1st ancestor is the parent path, 2nd
ancestor the grandparent pa
- isAbsolute
Whether the path is absolute (starts with a slash) or not.
- isAncestor
Check if a path is a (direct or indirect) ancestor of another path.
- getDepth
Calculate the number of elements in the path. The root path has zero elements.
- relativize
Relativize a path wrt. a parent path such that relativize(parentPath,
concat(parentPath, path)) == p
- isValid
Check if the path is valid. A valid path is absolute (starts with a '/') or
relative (doesn't start
- unifyInExcludes
Unify path inclusions and exclusions. * A path in includePaths is only retained
if includePaths c