Skip to main content

detect

Function detect 

Source
pub fn detect() -> InstallMethod
Expand description

Classify the installation the current process was launched from.

Falls back to InstallMethod::SelfManaged when the executable path cannot be determined, which preserves today’s behaviour: an undetectable install is treated as one ant update owns.