def classify_b
cswap-bend-cli@0.1.0.0 · swrun.bend:103
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/swbase.bend as B
import cswap-bend-cli@0.1.0.0/swcreds.bend as C
import cswap-bend-cli@0.1.0.0/swlive.bend as L
import cswap-bend-cli@0.1.0.0/store/io.bend as SIo
103def classify_b(+pre: L.Pre, +root: String, +seq: Json.Json, +cur: String, +l: L.Live) -> Act.of(C.CKind):
104 do ActM<C.CKind>:
105 live_present(l)
106 backup : String <- SIo.read_cred(root, cur, L.lv_email(l))
107 +others : List<&2, C.Other> <- L.other_creds(root, seq, B.slots_of(seq), cur)
108 return classify_in(pre, seq, cur, l, backup, others)