def fill_with
cswap-bend-cli@0.1.0.0 · daemon/identity.bend:46
import cswap-bend-cli@0.1.0.0/daemon/identity.bend as Identity
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/io.bend as SIo
46def fill_with(+m: Maybe<&2, Json.Json>, +root: String, +slot: String, +uuid: String, +ts: String) -> Act.of(Unit):
47 match m:
48 case None{}:
49 Act.pure(Unit, Unit{})
50 case Some{seq}:
51 SIo.write_seq(root, fill(seq, slot, uuid, ts))