Skip to main content

classify_changes

Function classify_changes 

Source
pub fn classify_changes(
    git: &Git,
    old: &str,
    new: &str,
    spec: &SpecFiles,
) -> Result<Vec<(String, bool)>, CoreError>
Expand description

The paths that differ between old and new, sorted, each with whether its change is protocol state only: a bundle’s journal, ledger, decision or change log; a bundle’s unit file, or a single-file SDD, that differs in nothing but vitrify-managed fields (and, in a single file, those sections). Such changes — claims, renewals, stamps, recorded questions — change nothing a build, a test or a lint reads.