Caps.Caps.sets_or: def of bend-osdev-caps@0.1.0.0 Import: import bend-osdev-caps@0.1.0.0/caps.bend as Caps Lines 559-565 of bend-osdev-caps@0.1.0.0/caps.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&start_line=559&end_line=565 import Base # the sets after a call, or s if it failed def Caps.sets_or(r: Result<&2, &2, CapsError, CapCred>, s: CapState) -> CapState: match r: case Done{x}: CapCred.sets(x) case Fail{e}: s Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapCred https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapCred.sets https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapState https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapsError