spin_app

Function retain_components

Source
pub fn retain_components(
    locked: LockedApp,
    components: &[&str],
    validators: &[&ValidatorFn],
) -> Result<LockedApp>
Expand description

Scrubs the locked app to only contain the given list of components Introspects the LockedApp to find and selectively retain the triggers that correspond to those components