filter

Function filter 

Source
fn filter<'a>(
    entries: &'a [MatrixEntry],
    label: Option<&str>,
) -> Result<Vec<&'a MatrixEntry>>
Expand description

Returns the matrix entries to run, optionally filtered by label.

When label is None all entries are returned. When a label is provided it is normalised via matrix::normalize_features_arg before matching, so both "otel,test" and "otel + test" resolve to the same entry. An unknown label after normalisation is an error.

ยงErrors

Returns an error when a label is provided but no matrix entry matches, listing all available labels.