def AaPolicy.lookup

bend-osdev-apparmor@0.1.0.0 · profile.bend:291

import bend-osdev-apparmor@0.1.0.0/profile.bend as Profile
import Base
import bend-osdev-apparmor@0.1.0.0/text.bend as X

291# the profile with the full name n (a, a//b, a//b//c, ...)
292def AaPolicy.lookup(pol: AaPolicy, +n: List<&2, U32>) -> Maybe<&2, AaProfile>:
293  AaPolicy.lookup.go(X.AaText.split2(n), AaPolicy.profiles(pol), 1n+X.AaText.len(n))

Uses (10)

Used by (6)