def read_slot

cswap-bend-cli@0.1.0.0 · store/ops.bend:275

import cswap-bend-cli@0.1.0.0/store/ops.bend as Ops
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/store/base.bend as SBase
import cswap-bend-cli@0.1.0.0/store/io.bend as SIo

275# A slot's stored credential text by slot number, alias or email; "" when the
276# slot has none.
277def read_slot(+ctx: SBase.Ctx, +ident: String) -> Act.of(String):
278  do ActM<String>:
279    m : Maybe<&2, Json.Json> <- SIo.read_seq(SBase.root_of(ctx))
280    read_slot2(SBase.root_of(ctx), ident, m)

Uses (10)

Used by (0)

No other definition uses this definition.