Skip to main content

install_plugin_from_path

Function install_plugin_from_path 

Source
pub fn install_plugin_from_path(path: &Path) -> Result<PluginInstallRecord>
Expand description

Install the plugin at path, disabled.

§Errors

A missing or unparseable manifest, anything validate_plugin_manifest rejects, opening the runtime store, the install row itself (a name already installed), and rewriting the lockfile. A lockfile failure leaves the row in place, so the plugin is installed but the lockfile is stale — nothing runs regardless, since install never enables.