Joint.pin.of: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/joint.bend as Joint Lines 261-269 of ezx@1.11.0.0/src/ws/joint.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/joint.bend&start_line=261&end_line=269 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # the first git source among the dependencies with this url, as the root # reads it, or a hub source when there is none def pin.of(ds: List<&2, M.Dep>, +url: String) -> M.Source: match ds: case []: M.Hub{""} case M.Dep{_n, _h, _e, +src} <> tl: rest = pin.of(tl, url) pin.at(String.eq(M.source.url(src), url), src, rest) Uses (7): 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=Base/base.bend&name=String.eq 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/ledger/manifest.bend&name=Source https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=source.url https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=pin.at