Plan.anchor.src: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/plan.bend as Plan Lines 1144-1155 of ezx@1.11.0.0/src/lock/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/plan.bend&start_line=1144&end_line=1155 import Base import ezx@1.11.0.0/src/lock/lock.bend as L import ezx@1.11.0.0/src/pkg/path.bend as Path # a package's source as git is to read it: a path anchored at the directory # the lock runs in (`Path.anchor`), and a URL or an absolute path as it is. A # hub package names no source. The lock records the source as the ledger # gives it; only the question carries this. def anchor.src(+here: String, src: L.Src) -> L.Src: match src: case L.Hub{}: L.Hub{} case L.Git{url, rev, entry, root, nar, tag}: L.Git{Path.anchor(here, url), rev, entry, root, nar, tag} case L.Member{path, entry}: L.Member{path, entry} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/lock.bend&name=Src https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=anchor