Skip to main content

detect_in_project

Function detect_in_project 

Source
pub fn detect_in_project(
    tb: &dyn Toolbox,
    tool: &str,
    project_root: &Path,
) -> (PackageManager, Probe)
Expand description

Detect tool for the project at project_root: project-local first, then PATH, then the runner of the package manager detected for the project. Returns that manager too, since hints follow it.