Searched refs:which_in (Results 1 - 2 of 2) sorted by relevance
/third_party/rust/crates/which-rs/src/ |
H A D | lib.rs | 149 pub fn which_in<T, U, V>(binary_name: T, paths: Option<U>, cwd: V) -> Result<path::PathBuf> in which_in() functions 394 /// The constructed `PathBuf` is the output of `which` or `which_in`, but `which::Path` has the 425 /// This calls `which_in` and maps the result into a `Path`. 432 which_in(binary_name, paths, cwd).map(|inner| Path { inner }) in new_in() 504 /// The constructed `PathBuf` is the result of `which` or `which_in` followed by 548 /// This calls `which_in` and `Path::canonicalize` and maps the result into a `CanonicalPath`. 555 which_in(binary_name, paths, cwd) in new_in()
|
/third_party/rust/crates/which-rs/tests/ |
H A D | basic.rs | 206 let which_result = which::which_in(&b, Some(&f.paths), ".").unwrap(); in test_which_no_extension()
|
Completed in 2 milliseconds