pub fn display_diff( path_old: &Path, path_new: &Path, force_correctness: bool, ) -> Result<()>
Writes the diff report as JSON.
Returns an error if querying the diff report or writing JSON fails.