Skip to main content

run_install_with

Function run_install_with 

Source
pub fn run_install_with(
    project_root: &Path,
    home: &Path,
    opts: &InstallOpts,
    bin: &BinaryLocation,
) -> Result<String, CliError>
Expand description

Like run_install, but with the binary location supplied by the caller instead of detected from PATH / current_exe. Tests use this to stay deterministic; run_install is the real-environment wrapper.