testing._subtree_excluded

(internal) A trailing-star exclusion that matches the canonical descendant prefix proves that every leaf below a lazy testset is excluded. This intentionally handles only the provable/common case and otherwise expands conservatively.

Reference version

Signature

function testing._subtree_excluded(prefix: string, excludes: string[]) -> bool

(internal) A trailing-star exclusion that matches the canonical descendant prefix proves that every leaf below a lazy testset is excluded. This intentionally handles only the provable/common case and otherwise expands conservatively.

Source:<builtin>/testing/registry.bamlbytes 2887629566