Skip to main content

simulation_from_plan

Function simulation_from_plan 

Source
pub fn simulation_from_plan(
    commits: &[CommitInfo],
    plan: &Plan,
    operation_mode: &str,
) -> SimulationResult
Expand description

Preview exactly what engine::apply(plan) would write, commit by commit.

Changes are matched to commits by id, so the preview cannot drift from the rewrite regardless of list order.