Skip to main content

display_diff

Function display_diff 

Source
pub fn display_diff(
    path_old: &Path,
    path_new: &Path,
    force_correctness: bool,
) -> Result<()>
Expand description

Writes the diff report as JSON.

ยงErrors

Returns an error if querying the diff report or writing JSON fails.