def deps.walk

ezx@1.11.0.0 · src/lock/up.bend:823

import ezx@1.11.0.0/src/lock/up.bend as Up
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
import ezx@1.11.0.0/src/ledger/upgrade.bend as U

823# every dependency, in the order the ledger wrote them
824def deps.walk(+rs: List<&2, Reply>, +only: String, +hub: String, ds: List<&2, M.Dep>) -> Deps:
825  match ds:
826    case []:
827      Deps{[], [], [], False{}, [], [], [], ""}
828    case +h <> t:
829      deps.join(dep.one(U.aim(U.chosen(only, M.dep.name(h)), M.source.dep(h)), rs,
830        only, hub, h), deps.walk(rs, only, hub, t))

Uses (12)

Used by (1)