Kaba function Path.relative_to ed

Describe a path relative to another path.This simply removes parent directories: 'a/b/c/d' relative to 'a/b' -> 'c/d'.

Syntax ed

func pure Path.relative_to(p: Path) -> Path

Parameters ed

p: Path
The reference point.

Return ed

The relative path. Or an empty path, if the path is not inside p.