def seeds.of

ezx@1.11.0.0 · src/ws/joint.bend:727

import ezx@1.11.0.0/src/ws/joint.bend as Joint
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
import ezx@1.11.0.0/src/pkg/pkg.bend as K
import ezx@1.11.0.0/src/lock/world.bend as LW

727# the answers for every member the joint ledger depends on
728def seeds.of(ds: List<&2, M.Dep>, +files: List<&2, K.Source>) -> List<&2, LW.Reply>:
729  match ds:
730    case []:
731      []
732    case hd <> tl:
733      List.append(&2, LW.Reply, seed(hd, files), seeds.of(tl, files))

Uses (6)

Used by (1)