def usage_of

cswap-bend-cli@0.1.0.0 · daemon/rows.bend:128

import cswap-bend-cli@0.1.0.0/daemon/rows.bend as Rows
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/policy/types.bend as T

128# A row, as the policy reads it. `row` is JNull when the slot has none (or it
129# belongs to another identity): never fetched. `sentinel` is the overlay the
130# caller computed from the credential.
131def usage_of(+slot: Nat, +row: Json.Json, +sentinel: T.Sentinel) -> T.Usage:
132  usage2(slot, row, win(row, "lastGood"), sentinel)

Uses (6)

Used by (2)