Skip to main content

same_content_from_files

Function same_content_from_files 

Source
pub fn same_content_from_files(
    a: &mut File,
    b: &mut File,
) -> Result<bool, Error>
Expand description

Determines whether two files have the same content using the default buffer size.

When the file lengths match, both files are rewound to the beginning before comparison.