martaPath

Method relativeString()

fun Path:relativeString(parent: Path): String

Returns the relative path, seeing from the parent.

Examples:

local path = parsePath("/foo/bar")
path:relativeString(parsePath("/")) -- "foo/bar"
path:relativeString(parsePath("/foo/bok")) -- "../bar"