Identity.fill: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/identity.bend as Identity Lines 42-44 of cswap-bend-cli@0.1.0.0/daemon/identity.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/identity.bend&start_line=42&end_line=44 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/store/seq.bend as SSeq # Fill an empty uuid, once, under the roster lock (switcher.backfill_account_uuid). def fill(+seq: Json.Json, +slot: String, +uuid: String, +ts: String) -> Json.Json: fill2(String.is_empty(str_of(Maybe.default(&2, Json.Json, SSeq.slot_record(seq, slot), Json.JObj{Json.JNil{}}), "uuid")), seq, slot, uuid, ts) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.default https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/identity.bend&name=fill2 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/identity.bend&name=str_of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/seq.bend&name=slot_record