def step.look

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

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

98# one package, asked about when nothing has answered for it yet
99def step.look(
100  found: Look,
101  +ns: List<&2, L.Name>,
102  +src: L.Src,
103  +hash: String,
104  rest: List<&2, String>,
105  packs: List<&2, L.Pack>,
106  asks: List<&2, String>,
107  bad: String
108) -> Walk:
109  match found:
110    case Absent{}:
111      Walk{rest, packs, hash <> asks, bad}
112    case Found{v}:
113      step.verdict(v, ns, src, hash, rest, packs, asks, bad)

Uses (8)

Used by (1)