rustic_testing

Function files_differ

Source
pub fn files_differ(
    path_left: impl AsRef<OsStr>,
    path_right: impl AsRef<OsStr>,
) -> TestResult<bool>
Expand description

Check if the given files differ.

§Arguments

  • path_left - The left file to compare.
  • path_right - The right file to compare.

§Errors

If the files could not be compared.

§Returns

true if the files differ, false otherwise.