pub fn detect_install_method(
exe: &Path,
cargo_home: Option<&Path>,
home: Option<&Path>,
cargo_lists_paper: bool,
) -> InstallMethodExpand description
Pure: decide how exe (canonicalised) was installed. cargo_lists_paper is
whether $CARGO_HOME/.crates2.json/.crates.toml names paperscope.