Skip to main content

diff

Function diff 

Source
pub fn diff(
    config: &BrainConfig,
    inventory: &[CapabilitySummary],
    from: Option<u32>,
    to: Option<u32>,
) -> Result<String>
Expand description

Compare two baselines and render the drift. With no versions, compares the latest stored baseline against the current live state; from picks the stored baseline to compare from; to compares against another stored baseline instead of live state.