Skip to content

fix: undo a recorded environment diff - #48

Open
HaoZeke wants to merge 1 commit into
mainfrom
fix/env-diff-reverse-patch
Open

HaoZeke wants to merge 1 commit into
mainfrom
fix/env-diff-reverse-patch

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

fix: undo a recorded environment diff

Builder.diff records each name whose bytes differ between two
builders, with the value it had and the value it has. Diff.reverse
exchanges the two sides. Diff.patch applies one side. A name the
applied side omits is removed, and a name it sets is set. Patching
the reverse of diff(from, to) onto to restores the names and values
from had.

Builder.diff records each name whose bytes differ between two
builders, with the value it had and the value it has. Diff.reverse
exchanges the two sides. Diff.patch applies one side. A name the
applied side omits is removed, and a name it sets is set. Patching
the reverse of diff(from, to) onto to restores the names and values
from had.

This branch has not been deployed

No deployments
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.

1 participant