relativePath

open fun relativePath(path: String): String(source)

Calculates a path relative to this path. If the given path is not a child of this path, it is returned unmodified.

Since

0.9


open fun relativePath(path: Path): Path(source)

Relative path.

Since

4.0