Function fsync::is_equals [] [src]

pub fn is_equals<P: AsRef<Path>>(source: P, target: P) -> Result<bool, Error>

Return true if two files are equals.

Files are considered equals if have same len, same modification time and same contents.