detect_switch_inhibitors

Function detect_switch_inhibitors 

Source
fn detect_switch_inhibitors(
    current_system: &Path,
    new_store_path: &Path,
) -> Option<&'static str>
Expand description

Returns Some(component) when a critical-component swap is detected between the running system and the new closure. Either side missing the path is out-of-scope (returns None for that component) - we only flag genuine swaps, not absences.