def do_switch

cswap-bend-cli@0.1.0.0 · swrun.bend:207

import cswap-bend-cli@0.1.0.0/swrun.bend as Swrun
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/swlive.bend as L
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase

207def do_switch(+ctx: SBase.Ctx, +target: String, +force: Bool, +opts: L.Opts) -> Act.of(Json.Json):
208  do ActM<Json.Json>:
209    pre : L.Pre <- Act.cond(L.Pre, force, Act.pure(L.Pre, L.no_pre()), L.prefetch(ctx, L.opts_oracle(opts)))
210    do_switch2(ctx, target, force, opts, pre)

Uses (15)

Used by (3)