dir-diff 0.3.0

Do two directories have different contents?
docs.rs failed to build dir-diff-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: dir-diff-0.3.3

dir-diff

Are the contents of two directories different?

Mostly useful for integration-style tests when you want to check some generated output.

Usage

Using dir-diff in an integration test with tempdir:

extern crate dir_diff;
extern crate tempdir;

#[test]
fn smoke_test() {
    let tmp_dir = TempDir::new("foo").expect("create temp dir failed");

	generate_some_stuff(&tmp_dir);

    assert!(!dir_diff::is_different(&tmp_dir.path(), "path/to/fixture").unwrap());
}