def decide.body

ezx@1.11.0.0 · src/add/hub.bend:90

import ezx@1.11.0.0/src/add/hub.bend as Hub
import Base
import ezx@1.11.0.0/src/lock/world.bend as W

90# the package, judged as the lock judges a hub package
91def decide.body(verdict: W.Verdict, +hash: String) -> Verdict:
92  match verdict:
93    case W.Ok{fs, ss}:
94      Go{hash, fs, ss}
95    case W.No{why}:
96      Stop{why}
97    case W.Named{_ns}:
98      Stop{"ez: " ++ hash ++ " was not answered with a package"}

Uses (4)

Used by (1)