Skip to main content

results_of

Function results_of 

Source
fn results_of<R: DiagnosticReport>(
    pack: &str,
    path: &str,
    checked: &str,
    reports: &[R],
    report_type: impl Fn(&R) -> String,
    cells: impl Fn(&R) -> (Vec<[i32; 2]>, Vec<String>),
) -> Vec<DiagnosticResult>
Expand description

Builds the results of the reports of a checked file.

ยงArguments

  • pack - Key of the pack of the file.
  • path - Path of the file.
  • checked - What was checked, like db or pack.
  • reports - Problems found.
  • report_type - Returns the type of a problem.
  • cells - Returns the table cells and columns of a problem.