pub fn generate_diff(
old_cpg: &CodePropertyGraph,
new_cpg: &CodePropertyGraph,
project_name: &str,
) -> Result<String, Error>Expand description
Generates an HTML diff page comparing two project graphs.
§Arguments
old_cpg- The graph of the old project version.new_cpg- The graph of the new project version.project_name- A human‑readable name for the project.
§Returns
A Result containing the HTML string, or an error if serialization fails.