Skip to content

Conversation

@bluekeyes
Copy link
Owner

Remove the Applier type and replace it with TextApplier and
BinaryApplier, both of which operate on fragments instead of on full
files. Move the logic that previously existed in Applier.ApplyFile to
the top-level Apply function.

Also restructure arguments and methods to make it clear that appliers
are one-time-use objects. The destination is now set when creating an
applier and the Reset() method was replaced by Close().

Closes #11.

Remove the Applier type and replace it with TextApplier and
BinaryApplier, both of which operate on fragements instead of on full
files. Move the logic that previously existed in Applier.ApplyFile to
the top-level Apply function.

Also restructure arguments and methods to make it clear that appliers
are one-time-use objects. The destination is now set when creating an
applier and the Reset() method was replaced by Close().
@bluekeyes bluekeyes merged commit 7593039 into master Mar 20, 2022
@bluekeyes bluekeyes deleted the split-applies branch March 20, 2022 19:20
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.

Split apply logic by fragment type

2 participants