Skip to main content

match_pattern

Function match_pattern 

Source
pub(crate) fn match_pattern(pattern: &str, path: &str) -> Option<Vec<String>>
Expand description

Whether path fills pattern, and the instance names it took. The catalogue’s own matcher, so a key the config does not set can still be resolved back to the pattern that would write it.