Check.show: def of bend-osdev-caps@0.1.0.0 Import: import bend-osdev-caps@0.1.0.0/check.bend as Check Lines 32-37 of bend-osdev-caps@0.1.0.0/check.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-caps@0.1.0.0/check.bend&start_line=32&end_line=37 import Base import bend-osdev-caps@0.1.0.0/caps.bend as C def show(r: Result<&2, &2, C.CapsError, C.CapCred>) -> String: match r: case Fail{e}: show_err(e) case Done{C.CapCred{ru, eu, sv, nr, na, s}}: "euid=" ++ U32.show(eu) ++ " " ++ show_sets(s) Uses (8): 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.show 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=CapsError https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/check.bend&name=show_err https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/check.bend&name=show_sets