def holds

ezx@1.11.0.0 · src/add/plan.bend:503

import ezx@1.11.0.0/src/add/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

503# whether a dependency names this hash
504def holds(ds: List<&2, M.Dep>, +hash: String) -> Bool:
505  match ds:
506    case []:
507      False{}
508    case +h <> t:
509      any.step(String.eq(M.dep.hash(h), hash), _u => holds(t, hash))

Uses (7)

Used by (1)