Pin.ref.place: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/pin.bend as Pin Lines 42-50 of ezx@1.11.0.0/src/ws/pin.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/pin.bend&start_line=42&end_line=50 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M import ezx@1.11.0.0/src/pkg/path.bend as P import ezx@1.11.0.0/src/ez/target.bend as Tgt import ezx@1.11.0.0/src/add/world.bend as A import ezx@1.11.0.0/src/ws/joint.bend as J # a place's ref: a git source's against the workspace's pins, as the root # reads the source from the member's directory, and anything else as given def ref.place(place: Tgt.Place, +pins: List<&2, M.Dep>, +dir: String, +home: String, +ref: String) -> Ref: match place: case Tgt.Bad{_why}: Given{ref} case _: +url = P.anchor(dir, A.url.of(place, home)) ref.at(J.pin.of(pins, url), url, ref) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/add/world.bend&name=url.of https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/target.bend&name=Place https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Dep https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=anchor https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=pin.of https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/pin.bend&name=Ref https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/pin.bend&name=ref.at