Skip to main content

matcher_for_path

Function matcher_for_path 

Source
pub fn matcher_for_path(
    config: &ConfigSet,
    rules: &[AttrRule],
    rel_path: &str,
) -> Result<Option<FuncnameMatcher>, String>
Expand description

Resolve a function-name matcher for rel_path from attributes + config.

Returns Ok(None) when no diff driver is configured for the path.