Function is_different

Source
pub fn is_different<A: AsRef<Path>, B: AsRef<Path>>(
    a_base: A,
    b_base: B,
) -> Result<bool, Error>
Expand description

Are the contents of two directories different?

ยงExamples

extern crate dir_diff;

assert!(dir_diff::is_different("dir/a", "dir/b").unwrap());