Skip to main content

install_bundle

Function install_bundle 

Source
pub fn install_bundle(
    source: &Path,
    destination: &Path,
) -> Result<BundleManifest, InstallError>
Expand description

Validate and atomically install a manually supplied Bundle directory.

The source must contain a versioned manifest.toml and its declared artifact. When the manifest contains a SHA-256 digest, the artifact bytes are checked before staging. Existing installations are left untouched on validation failure. Installation copies files only; it never loads, activates, registers, resolves, or grants permissions to a Plugin.