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

Is there a way to build a JSON document from a series of resulting diffs? #70

Open
rayvoelker opened this issue Aug 11, 2023 · 1 comment
Labels

Comments

@rayvoelker
Copy link

Apologies if I've overlooked a previous discussion on this.

Is it possible to take a series of diffs generated by this tool, and build the diff back to the original state for example? Maybe someone has already put together such an example.

@J08nY
Copy link
Contributor

J08nY commented May 10, 2024

We have something like that here: https://github.com/crocs-muni/sec-certs/blob/page/sec_certs_page/common/diffs.py#L30-L81. But only or explicit diffs. You need the starting document and a diff and you get the resulting one. You can iterate this and should get the same result in the end.

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

No branches or pull requests

3 participants