def clash

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

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

139# whether the ledger gives this name to a source other than this url. A hub
140# dependency of the name is another source too.
141def clash(ds: List<&2, M.Dep>, +name: String, +url: String) -> Bool:
142  match ds:
143    case []:
144      False{}
145    case h <> t:
146      M.Dep{n, _h, _e, s} = h
147      clash.at(String.eq(n, name), s, url, clash(t, name, url))

Uses (6)

Used by (1)