def vendors

ezx@1.11.0.0 · src/ledger/ignore.bend:183

import ezx@1.11.0.0/src/ledger/ignore.bend as Ignore
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

183# the hash of every dependency marked `vendor = true`, in the order the ledger
184# wrote them. Two dependencies may name one hash.
185def vendors(ds: List<&2, M.Dep>) -> List<&2, String>:
186  match ds:
187    case []:
188      []
189    case +h <> t:
190      vendors.put(M.source.vendor(M.source.dep(h)), M.dep.hash(h), vendors(t))

Uses (7)

Used by (1)