Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude/Include Symbols #84

Open
rowrowrowrow opened this issue Sep 23, 2024 · 1 comment
Open

Exclude/Include Symbols #84

rowrowrowrow opened this issue Sep 23, 2024 · 1 comment

Comments

@rowrowrowrow
Copy link

rowrowrowrow commented Sep 23, 2024

It would be useful to be able to exclude or include differences based on a type like their "symbol". This way we could ignore or focus on differences of a certain kind. I.e. in my case to do a "rightonly" diff and ignore deletions. This would confirm that "right" is a subset of "left".

@corytodd
Copy link
Collaborator

This feels like a job for post-processing. Maybe this could be done with a custom dumper. We currently have a json and yaml dumper, an instance of which can be passed in as the dumper kwarg in diff.

This might be a fairly flexible option. What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants