def decide.co

ezx@1.11.0.0 · src/add/plan.bend:347

import ezx@1.11.0.0/src/add/plan.bend as Plan
import 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}

Uses (5)

Used by (1)