def holds
import ezx@1.11.0.0/src/add/plan.bend as Planimport 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))