Function which::which_in_global

source ยท
pub fn which_in_global<T, U>(
    binary_name: T,
    paths: Option<U>,
) -> Result<impl Iterator<Item = PathBuf>>
where T: AsRef<OsStr>, U: AsRef<OsStr>,
Expand description

Find all binaries with binary_name in the path list paths, ignoring cwd.