Function which::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.