Named.hub.had: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/named.bend as Named Lines 211-220 of ezx@1.11.0.0/src/ez/named.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/named.bend&start_line=211&end_line=220 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # the name the ledger already gives a hub package of this name part, first in # document order, or "" when it gives none. Adding another version of a name # is then the same entry, as re-adding a git dependency at a new tag is. def hub.had(ds: List<&2, M.Dep>, +part: String) -> String: match ds: case []: "" case h <> t: M.Dep{n, _h, _e, s} = h had.at(hub.from(s, part), n, hub.had(t, part)) Uses (5): 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/ez/named.bend&name=had.at https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/named.bend&name=hub.from https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Dep