dir-diff icon indicating copy to clipboard operation
dir-diff copied to clipboard

Are the contents of two directories different?

Results 9 dir-diff issues
Sort by recently updated
recently updated
newest added

Hi! This crate looks very similar to what we did in [checksumdir](https://github.com/sh-zam/checksumdir), which is a straight port of [python's checksumdir](https://github.com/cakepietoast/checksumdir), and [diff-rs](https://github.com/worldsources/diff-rs) in order to make those functions available to...

Print out the difference between any two directories to stdout. This includes: - Difference between lines in files - Existence of a file **A sample output is:** ``` ╔════════════════════════════════════════════════════════════════════════╗ ║...

Some example use cases - Report more detailed information than `is_different` - first diff - all diffs - all regular and diffs - Custom content comparisons - line-ending agnostic -...

I've got my own [home grown tool for diffing directories](https://github.com/cobalt-org/cobalt.rs/blob/master/tests/mod.rs#L29) but I'd much have a reusable crate. API Ideas: - Enum of `LeftExists`, `RightExists`, `BothExist(Option)` - `diff_dir_list(path, path)` provides an...

From https://github.com/azerupi/mdBook/pull/237#issuecomment-294225041: > Ahh, line endings are the issue here.... I made this PR on Windows, so windows stuff succeeds, but linux stuff fails. Hrm. > ..... I am not...

The code below loads both files completely into memory before comparing. For files that differ early that can be quite wasteful and it can also result in out of memory...

enhancement

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. This repository currently has no open or pending branches. ## Detected dependencies cargo Cargo.toml...

Code: ```rust #[tokio::test] async fn only_one_empty_dir() { let temp_dir1 = Temp::new_dir().expect("Failed to create temp dir 1"); let temp_dir2 = Temp::new_dir().expect("Failed to create temp dir 2"); let temp_file1 = temp_dir1.join("file1"); fs::write(temp_file1,...

- [x] Tests created for any new feature or regression tests for bugfixes. - [x] `cargo test` succeeds - [x] `cargo +nightly clippy` succeeds