def vendors.put

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

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

175# a dependency's hash, in front of the rest, when its tree is committed
176def vendors.put(vend: Bool, +hash: String, rest: List<&2, String>) -> List<&2, String>:
177  match vend:
178    case True{}:
179      hash <> rest
180    case False{}:
181      rest

Uses (3)

Used by (1)