Skip to main content

present_in

Function present_in 

Source
pub fn present_in(dir: &Path, names: &[&str]) -> Vec<String>
Expand description

Which of names exist in dir, in order.

Returns all matches rather than the first, so that two spellings of one rung present at once surfaces as an error rather than a silent pick between them. Callers that get more than one refuse to start.