Plan.ask.anchored: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/fetch/plan.bend as Plan Lines 950-957 of ezx@1.13.0.0/src/fetch/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/fetch/plan.bend&start_line=950&end_line=957 import Base import ezx@1.13.0.0/src/fetch/world.bend as F import ezx@1.13.0.0/src/lock/lock.bend as L import ezx@1.13.0.0/src/pkg/path.bend as Path # whether a git question asks for the source the lock records for its # package, taken from the project: the lock's url anchored at `here` def ask.anchored(+here: String, src: L.Src, ask: F.Ask) -> Bool: match ask: case F.Git{_hash, q}: String.eq(clone.url(q), Path.anchor(here, L.src.url(src))) case _: True{} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/fetch/plan.bend&name=clone.url https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/fetch/world.bend&name=Ask https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/lock/lock.bend&name=Src https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/lock/lock.bend&name=src.url https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/pkg/path.bend&name=anchor