Skip to main content

write_csv

Function write_csv 

Source
pub fn write_csv(
    findings: &mut Vec<Finding>,
    output: Option<&Path>,
) -> Result<()>
Expand description

Writes findings as CSV sorted by (language, lines desc).

Pass output = Some(path) to write to a file, or None to write to stdout.