def dep.find

ezx@1.11.0.0 · src/pub/plan.bend:881

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

881# the first dependency the ledger records for a probe, said, "" for none
882def dep.find(+one: Probe, ds: List<&2, M.Dep>) -> String:
883  match ds:
884    case []:
885      ""
886    case +h <> t:
887      dep.find.pick(dep.is(one, h), h, _u => dep.find(one, t))

Uses (6)

Used by (1)