Skip to main content

compare_plans

Function compare_plans 

Source
pub fn compare_plans(
    root: &Path,
    workspace: &Workspace,
    plans: &[GenerationPlan],
) -> Result<Vec<CompareDifference>, CompareStepError>
Expand description

Compares already-planned contract generations with their checked-in derived files.

This is the check command’s reuse seam: composition validation and regeneration comparison consume the same plans, so canonical schema paths cannot drift between the two steps.