Skip to main content

install

Function install 

Source
pub fn install<F: Fetcher, D: Downloader>(
    client: &Client<F>,
    downloader: &D,
    override_home: Option<&PathBuf>,
    name: &str,
    version: Option<&str>,
) -> Result<InstalledRecord>
Expand description

Install name at version (or latest when None).

override_home redirects the install location for tests; pass None for real use. Returns the InstalledRecord for the newly installed plugin.