Skip to main content

validate_bundle_mutation

Function validate_bundle_mutation 

Source
pub fn validate_bundle_mutation(
    root: &Path,
    bundle: &Path,
    mutation: BundleMutation,
) -> Result<(VerifiedBundle, ResolvedApp)>
Expand description

Verifies one Bundle and resolves the complete candidate App for an add or replacement.

prepare_bundle_mutation is the preferred mutation boundary because it also owns stable staged bytes and the atomic commit.