Skip to main content

resolve_active

Function resolve_active 

Source
pub fn resolve_active(
    tool: &str,
    start_dir: &Path,
    global_tools: &BTreeMap<String, String>,
    idiomatic_files: &[&str],
) -> Option<ActiveVersion>
Expand description

Resolve the active spec for tool, walking up from start_dir. Global config pins are consulted last. idiomatic maps a tool to its idiomatic filenames.