Skip to main content

classify_install

Function classify_install 

Source
pub fn classify_install(exe: &Path) -> InstallKind
Expand description

Decides who owns the binary at exe from its path alone. Overwriting a package-manager-owned file would leave brew or cargo believing it manages a file it no longer controls, so those cases delegate instead.