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.


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