Skip to main content

classify_path_step

Function classify_path_step 

Source
pub fn classify_path_step(
    spec: &CommandSpec,
    name: &str,
    current_dir: &Path,
    tail: &[String],
    env: Option<&str>,
) -> PathOutcome
Expand description

Classify a Path-kind step. Pure: loads the child config, inspects the tail, and returns the matching PathOutcome. The caller owns every side effect (printing, spawning).