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, then the placement changes, deployment by deployment in the new system’s order and then the removed deployments, and then the instance number changes. 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 placement or composition change has no verdict (ADR-0026). The sizing fields (Deployment.sizing, Placement.sizing) are never read: the registry records them as not reported, reason sizing (ridl_core::attributes).