Pin.ref.at: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/pin.bend as Pin Lines 32-40 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=32&end_line=40 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # a ref given against what the workspace records for the source, if anything def ref.at(src: M.Source, +url: String, +ref: String) -> Ref: match src: case M.Hub{_nv}: Given{ref} case M.Git{_u, +rev, +tag, _o, _n, _v}: ref.pinned(url, rev, tag, ref) case M.Member{_p, _n}: Given{ref} Uses (4): 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/ledger/manifest.bend&name=Source 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.pinned