Importu.win.reset: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/importu.bend as Importu Lines 52-59 of cswap-bend-cli@0.1.0.0/importu.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/importu.bend&start_line=52&end_line=59 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/clock.bend as Clock def win.reset(+label: String, +resets: Json.Json, out: Json.Json, +now: U32, +off: U32) -> Result<&2, &2, String, Json.Json>: match resets: case Json.JNull{}: Done{out} case Json.JStr{s}: win.parse(label, s, Clock.parse_iso8601(s), out, now, off) case _: Fail{label ++ ".resetsAt must be an ISO-8601 string"} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/clock.bend&name=parse_iso8601 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/importu.bend&name=win.parse https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json