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

Move change to protocol #38

Closed
wants to merge 14 commits into from
Closed

Move change to protocol #38

wants to merge 14 commits into from

Conversation

alexjg
Copy link
Collaborator

@alexjg alexjg commented Jan 11, 2021

This moves automerge_backend::UnencodedChange to 'automerge_protocol::UncompressedChange. Unfortunately this change touches a lot of files. The primary meaningful difference is that the UnencodedChangereferred toautomerge_backend::Operationwhereas theUncompressedChangeusesautomerge_frontend::Op. This neccessitates a fallible conversion from UncompressedChangetoautomerge_backend::Change, which is implemented here as impl TryFrom for Changeinchange.rs, which replaces Change::decode`.

@alexjg alexjg closed this Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants