Function write_custom_comparison_csv

Source
pub fn write_custom_comparison_csv(
    results: &[AnalysisResults],
    output_dir: &Path,
    file_paths: &[PathBuf],
) -> Result<()>
Expand description

Writes CSV files comparing groups of fields within each file, for custom comparisons.

This function is analogous to write_split_comparison_csv, but handles custom_comparisons instead. It includes multiple comparison groups.

§Arguments

  • results - A slice of AnalysisResults, one for each analyzed file.
  • output_dir - The directory where the CSV files will be written.
  • file_paths - A slice of PathBufs representing the original file paths for each result.

§Returns

  • std::io::Result<()> - Ok if successful, otherwise an error.