Path. When both paths are the same, returns Path(".").Path relativeTo(Path other) const @safeCompute the relative path from other to this (pathlib-like).
If this.isRelativeTo(other) is false, throws an Exception with a clear message explaining the mismatch (different anchors or other not a prefix).
Path. When both paths are the same, returns Path(".").Path relativeTo(string other) const @safeOverload taking a string base