#directory #diff #fs

dir-diff

Do two directories have different contents?

6 releases

0.3.3 Dec 19, 2023
0.3.2 Oct 8, 2019
0.3.1 May 29, 2018
0.3.0 Mar 28, 2017
0.1.0 Mar 28, 2017

#40 in Filesystem

Download history 75357/week @ 2024-07-23 65741/week @ 2024-07-30 75720/week @ 2024-08-06 67609/week @ 2024-08-13 75426/week @ 2024-08-20 72259/week @ 2024-08-27 65941/week @ 2024-09-03 62913/week @ 2024-09-10 37401/week @ 2024-09-17 46139/week @ 2024-09-24 42685/week @ 2024-10-01 38218/week @ 2024-10-08 39418/week @ 2024-10-15 33535/week @ 2024-10-22 33576/week @ 2024-10-29 30383/week @ 2024-11-05

142,685 downloads per month
Used in 386 crates (21 directly)

MIT/Apache

8KB
86 lines

dir-diff

Are the contents of two directories different?

Documentation License Crates Status

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Determine if two directories have different contents.

For now, only one function exists: are they different, or not? In the future, more functionality to actually determine the difference may be added.

Examples

extern crate dir_diff;

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

Dependencies

~0.1–6.5MB
~37K SLoC