dir-diff
dir-diff copied to clipboard
Feat(Dir/Difference): See Difference Between Dir Files & Content
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:
╔════════════════════════════════════════════════════════════════════════╗
║ Differences ║
╠════════════════════════╦═══════════════════════╦═══════════════════════╣
║ Filename ║ tests/easy/bad/dir1 ║ tests/easy/bad/dir2 ║
╠════════════════════════╬═══════════════════════╬═══════════════════════╣
║ /sample.txt ║ FILE EXISTS ║ DOESN'T EXIST ║
╠════════════════════════╬═══════════════════════╬═══════════════════════╣
║ "/test.txt":1 ║ testing testing ║ oh no! ║
╠════════════════════════╬═══════════════════════╬═══════════════════════╣
║ "/test.txt":2 ║ skdjjd ║ ║
╚════════════════════════╩═══════════════════════╩═══════════════════════╝
- [ ] Tests created for any new feature or regression tests for bugfixes.
- [ ]
cargo testsucceeds - [ ]
cargo +nightly clippysucceeds
Also, could you share what your use case is? It'd be helpful to better understand the larger picture of what you are trying to accomplish.
Sorry, I haven't had time to work on this, as I've been busy for the past months. I'll try to address this ASAP.
Sorry for the delay.
Understandable; we all have those times.