Function cwe_checker::filter_modules_for_partial_run
source · pub(crate) fn filter_modules_for_partial_run(
modules: &mut Vec<&CweModule>,
partial_param: &str
)
Expand description
Only keep the modules specified by the --partial
parameter in the modules
list.
The parameter is a comma-separated list of module names, e.g. ‘CWE332,CWE476,CWE782’.