RuleCapability.AaCapRule.matches: def of bend-osdev-apparmor@0.1.0.0 Import: import bend-osdev-apparmor@0.1.0.0/rule_capability.bend as RuleCapability Lines 103-112 of bend-osdev-apparmor@0.1.0.0/rule_capability.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-apparmor@0.1.0.0/rule_capability.bend&start_line=103&end_line=112 import Base def AaCapRule.matches(r: AaCapRule, q: AaCapQuery) -> Bool: match r: case AaCapRule{qu, ks}: match ks: case None{}: True{} case Some{xs}: match q: case AaCapQuery{k}: AaCap.member(xs, k) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/rule_capability.bend&name=AaCap.member https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/rule_capability.bend&name=AaCapQuery https://jend.leeeet.dev/definition.txt?path=bend-osdev-apparmor@0.1.0.0/rule_capability.bend&name=AaCapRule