def decide.co
import ezx@1.11.0.0/src/add/plan.bend as Planimport Base
347# the checkout answered, still to ask, or not to be had
348def decide.co(checkout: Co, +rev: String) -> Verdict:
349 match checkout:
350 case Co{_nar, _fs}:
351 Go{}
352 case CoWait{}:
353 Pending{[QClone{rev}]}
354 case CoNo{why}:
355 Stop{why}