Path.anchor: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/path.bend as Path Lines 201-206 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=201&end_line=206 import Base # a source as the directory `here` reads it. The ledger keeps a local path # relative to the project, the way it was given, and git reads a relative path # from somewhere else, so every git command is handed this instead. A URL is # the same wherever it is read from. def anchor(+here: String, +path: String) -> String: anchor.at(String.contains(path, "://"), here, path) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.contains https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=anchor.at