Skip to content

Is applyPatch atomic? #2041

Discussion options

You must be logged in to vote

I don't think it'll revert anything. I made a quick demo and it looks like it will apply as many good patches as it can, and then throw an error without any type of cleanup. You may want to handle the error yourself and keep track of patches/revert on error or something.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BrianHung
Comment options

@coolsoftwaretyler
Comment options

Answer selected by BrianHung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants