Skip to main content

Module apply

Module apply 

Source
Expand description

Apply a PatchPlan through a BytePatcher and produce the durable PatchManifest.

Structs§

ApplyConfig
Inputs to apply_plan that are not part of the plan itself.

Functions§

apply_plan
Apply every operation in plan through patcher, returning the durable manifest that records what changed.
rollback_from_manifest
Restore the original bytes recorded in manifest, walking the operations in reverse order so any chained patches are unwound last-applied-first.