Crate path_lookup

Source

Functionsยง

get_executables
Returns all exectuabqles found in $PATH as a HashSet. There is no performance penalty compared to iteration.
iterate_executables
Returns an iterator of the exectuables found in $PATH. Note that it still allocates memory because it is necessary to deduplicate the results.