More detailed error reporting
I've got my own home grown tool for diffing directories but I'd much have a reusable crate.
API Ideas:
- Enum of
LeftExists,RightExists,BothExist(Option<Difference>) -
diff_dir_list(path, path)provides an iterator of(path, enum(None))- doesn't do content diffing allowing people to do custom solutions for #6
-
diff_dir(path, path)provides an iterator of(path, enum)- Take advantage of
differencelike [assert_cli](
- Take advantage of
-
assert_dir_eq!- provides a default policy for failing (whether it be
panicon first failure or summarize the all differences)
- provides a default policy for failing (whether it be
Hey @epage ! I'm not really working on dir-diff these days, but if you want to hack on it, I'd be happy to give you commit rights, etc 👍
That works.
Any vision or implementation goals you had that you'd like me to maintain with my changes?
Not specifically; I had originally created this library as a way of doing testing; you could have a fixture with the directories you planned on creating, run the tests, and diff them. I'm open to whatever though. Adding you as a collaborator right now!