pub async fn install(
client: &RegistryClient,
handle: &str,
target: &str,
dir: &Path,
force: bool,
lock_path: &Path,
) -> Result<InstallSummary>Expand description
Install handle for target under dir, recording the result in the
lockfile at lock_path. Refuses to overwrite pre-existing files unless
force; a re-install at the same version is a no-op.