Skip to main content

order_path_entries

Function order_path_entries 

Source
pub fn order_path_entries(
    project_bins: Vec<PathBuf>,
    runtime_bin: Option<&Path>,
    runtime_precedes_project_bins: bool,
) -> Vec<PathBuf>
Expand description

Place a runtime bin directory around project-local bin directories. Wrappers lead so a local node cannot bypass their shim; selectors follow so package-provided commands retain normal precedence.