Path.anchor.at: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/path.bend as Path Lines 192-199 of ezx@1.11.0.0/src/pkg/path.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pkg/path.bend&start_line=192&end_line=199 import Base # a URL as it is, or a path def anchor.at(url: Bool, +here: String, +path: String) -> String: match url: case True{}: path case False{}: anchor.path(Bool.or(String.starts_with(path, "/"), String.starts_with(path, "git@")), here, path) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=anchor.path