pub fn diff_functions(
baseline_path: &Path,
current_path: &Path,
) -> Result<DiffReport>Expand description
Compute function-level AST diff between a baseline file and the current file.
Both paths must point to existing files with the same language extension.
The diff is performed at function granularity with semantic_only enabled
so that whitespace/comment-only changes are excluded.