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

Feat(Dir/Difference): See Difference Between Dir Files & Content

Open toksdotdev opened this issue 7 years ago • 3 comments

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 test succeeds
  • [ ] cargo +nightly clippy succeeds

toksdotdev avatar Aug 07 '18 01:08 toksdotdev

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.

epage avatar Aug 07 '18 03:08 epage

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.

toksdotdev avatar Dec 08 '18 08:12 toksdotdev

Understandable; we all have those times.

epage avatar Dec 08 '18 17:12 epage