def asks.of

ezx@1.11.0.0 · src/lock/plan.bend:1157

import ezx@1.11.0.0/src/lock/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/world.bend as W
import ezx@1.11.0.0/src/lock/lock.bend as L

1157# each hash still to ask about, as the question for it, with its source
1158# anchored
1159def asks.of(hs: List<&2, String>, +here: String, +orgs: List<&2, L.Origin>, +hub: String) -> List<&2, W.Ask>:
1160  match hs:
1161    case []:
1162      []
1163    case +h <> t:
1164      W.Pkg{h, anchor.src(here, L.origin(orgs, h)), hub} <> asks.of(t, here, orgs, hub)

Uses (6)

Used by (1)