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