Skip to main content

diff_systems

Function diff_systems 

Source
pub fn diff_systems(old: &System, new: &System) -> Vec<SystemChange>
Expand description

Compares two lowered systems: the composition changes first, in the new closure’s order and then the removed components, and then the placement changes, deployment by deployment in the new system’s order and then the removed deployments. The doc fields (doc, the doc links, see, since) are never read: a doc edit is neither a placement nor a composition change, and a system change has no verdict (ADR-0026). The sizing fields (Deployment.sizing, Placement.sizing) are never read either: a changed depth, slots or budget changes no link and no contract (rsdl §14).