Skip to main content

effective_patterns

Function effective_patterns 

Source
pub fn effective_patterns(stacks: &[String], extra: &[String]) -> Vec<String>
Expand description

Returns the effective ordered pattern list: the universal preset, followed by each selected stack preset, followed by extra, de-duplicated.

Resolution order (see design.md D2): the universal DEV_ALLOWLIST_PRESET first (declaration order), then each named preset from stacks in selection order (unknown names contribute nothing), then extra in input order. A pattern already present from an earlier tier is not added again, so the result is the de-duplicated union.