Skip to main content

apply_install

Function apply_install 

Source
async fn apply_install(
    scheduler: &Scheduler,
    manifest: &Manifest,
) -> Result<InstallOutcome, String>
Expand description

Merge a validated content plugin into the active profile, record the additions in the registry, and persist both. Split out so it’s unit-testable without a WebviewWindow/dialog. Mirrors the content-pack apply_pack write sequence (merge into a clone, rebuild the derived caches, store, upsert the active profile, persist).