def resolved
cswap-bend-cli@0.1.0.0 · profswitch.bend:150
import cswap-bend-cli@0.1.0.0/profswitch.bend as Profswitch
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/cmd.bend as Cmd
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase
import cswap-bend-cli@0.1.0.0/profile.bend as P
150def resolved(+res: P.Res, +over: Maybe<&2, String>, +ctx: SBase.Ctx, +raw: Json.Json, +ident: Maybe<&2, String>, +force: Bool, +strategy: Maybe<&2, String>, +model: Maybe<&2, String>, +json: Bool) -> IO(Cmd.Out):
151 match res:
152 case P.RNone{}:
153 legacy(ctx, ident, force, strategy, model, json)
154 case P.RUnknown{name}:
155 unknown_name(has(over), name, ctx, ident, force, strategy, model, json)
156 case P.ROk{p}:
157 by_name(String.eq(P.name_of(p), "default"), p, ctx, raw, ident, force, strategy, model, json)