Skip to main content

candidate_sequence

Function candidate_sequence 

Source
pub fn candidate_sequence(inputs: &ResolutionInputs) -> Vec<PathBuf>
Expand description

What: Build the ordered, de-duplicated list of absolute candidates. Why: Every PATH directory contributes each executable name in order; conventional locations that PATH exposes are promoted to the front in their PATH spelling. Relative PATH entries are resolved against the current directory, as a shell does.

In TS you’d write (pseudocode):

function candidateSequence(inputs: ResolutionInputs): string[];