def holds

ezx@1.11.0.0 · src/remove/plan.bend:68

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

68# whether a dependency names this hash
69def holds(ds: List<&2, M.Dep>, +hash: String) -> Bool:
70  match ds:
71    case []:
72      False{}
73    case +h <> t:
74      any.step(String.eq(M.dep.hash(h), hash), _u => holds(t, hash))

Uses (7)

Used by (1)