def disable_ent

cswap-bend-cli@0.1.0.0 · daemon/gather.bend:171

import cswap-bend-cli@0.1.0.0/daemon/gather.bend as Gather
import Base
import cswap-bend-cli@0.1.0.0/policy/types.bend as T

171def disable_ent(e: Ent, +skip: List<&2, String>) -> Ent:
172  match e:
173    case Ent{+slot, email, org, creds, T.Account{n, ae, k, d}}:
174      Ent{slot, email, org, creds, T.Account{n, ae, k, d || in_skip(slot, skip)}}

Uses (6)

Used by (1)