RuleChangeProfile.AaChB.glob: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/rule_change_profile.bend as RuleChangeProfile Lines 64-72 of bend-osdev-apparmor@0.1.0.0/rule_change_profile.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-apparmor@0.1.0.0/rule_change_profile.bend&start_line=64&end_line=72 import Base import bend-osdev-apparmor@0.1.0.0/glob.bend as G import bend-osdev-apparmor@0.1.0.0/error.bend as E # a pattern: the target after the arrow, else the exec condition def AaChB.glob(b: AaChB, g: G.AaGlob, src: E.AaSrc) -> Result<&2, &2, E.AaError, AaChB>: match b: case AaChB{m, e, +ar, tg}: match ar: case True{}: AaChB.set_target(AaChB{m, e, ar, tg}, g, src) case False{}: AaChB.set_exec(AaChB{m, e, ar, tg}, g, src) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/error.bend&name=AaError https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/error.bend&name=AaSrc https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/glob.bend&name=AaGlob https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/rule_change_profile.bend&name=AaChB https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/rule_change_profile.bend&name=AaChB.set_exec https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/rule_change_profile.bend&name=AaChB.set_target