Skip to main content

diff_section

Function diff_section 

Source
fn diff_section(
    section: &str,
    vendored: &Value,
    installed: &Value,
) -> Result<SectionDiff>
Expand description

Diffs one section (client_requests, server_requests, server_notifications, or client_notifications) between the vendored and installed manifests. added/removed/changed are each sorted by method name for stable, scannable output regardless of the underlying BTreeMap iteration order (which is already method-name order, but the explicit sort documents the intent and survives a future change to how the maps are built).