selectors

Function match_tree_name_against_selector

Source
pub fn match_tree_name_against_selector(
    tree_name: &str,
    selector: &Selector,
) -> bool
Expand description

Checks whether or not a given tree_name is present in the selector’s tree-name-filter list.

Accounts for semantics like unspecified tree-name-filter lists.