def hub.clash

ezx@1.11.0.0 · src/ez/named.bend:237

import ezx@1.11.0.0/src/ez/named.bend as Named
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

237# whether the ledger gives this name to anything but a hub package of this
238# name part: a git dependency, or one added by its hash
239def hub.clash(ds: List<&2, M.Dep>, +name: String, +part: String) -> Bool:
240  match ds:
241    case []:
242      False{}
243    case h <> t:
244      M.Dep{n, _h, _e, s} = h
245      hub.clash.at(String.eq(n, name), s, part, hub.clash(t, name, part))

Uses (6)

Used by (1)