which

Function which_in_all

Source
pub fn which_in_all<T, U, V>(
    binary_name: T,
    paths: Option<U>,
    cwd: V,
) -> Result<impl Iterator<Item = PathBuf>>
where T: AsRef<OsStr>, U: AsRef<OsStr>, V: AsRef<Path>,
Expand description

Find all binaries with binary_name in the path list paths, using cwd to resolve relative paths.