RuleFile.AaXMode.show: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/rule_file.bend as RuleFile Lines 100-109 of bend-osdev-apparmor@0.1.0.0/rule_file.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-apparmor@0.1.0.0/rule_file.bend&start_line=100&end_line=109 import Base def AaXMode.show(m: AaXMode) -> String: match m: case AaXIx{}: "ix" case AaXUx{s}: Bool.pick(String, s, "Ux", "ux") case AaXPx{+s, f}: Bool.pick(String, s, "P", "p") ++ AaXMode.show.fb(f, s) ++ "x" case AaXCx{+s, f}: Bool.pick(String, s, "C", "c") ++ AaXMode.show.fb(f, s) ++ "x" Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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=bend-osdev-apparmor@0.1.0.0/rule_file.bend&name=AaXMode https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/rule_file.bend&name=AaXMode.show.fb