Skip to main content

plan_install

Function plan_install 

Source
pub async fn plan_install(
    source: &PluginSource,
    plugins_root: &Path,
) -> Result<InstallPlan, InstallError>
Expand description

plugin add step one: materialize the source into staging, validate the manifest, compute pinned values, produce the review digest.

Writes nothing to disk (nothing into <plugins_root>/<name>/, nothing to the registry) — only after a human has reviewed InstallPlan::digest and confirmed does commit_install run.