Skip to main content

load_patterns_from_file

Function load_patterns_from_file 

Source
pub fn load_patterns_from_file<P: AsRef<Path>>(
    path: P,
) -> Result<Vec<ToolPattern>>
Expand description

Load patterns from a custom TOML file

ยงErrors

Returns an error if the file cannot be read or parsed