Lines Matching refs:PathBuf
8 use std::path::{Path, PathBuf};
18 pub bins: Vec<PathBuf>,
25 fn mk_bin(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> { in mk_bin() argument
36 fn touch(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> { in touch() argument
42 fn mk_bin(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> { in mk_bin() argument
82 pub fn touch(&self, path: &str, extension: &str) -> io::Result<PathBuf> { in touch() argument
86 pub fn mk_bin(&self, path: &str, extension: &str) -> io::Result<PathBuf> { in mk_bin() argument
141 let result: Vec<PathBuf> = which::which_re_in(re, Some(f.paths)) in test_which_re_in_with_matches()
160 let result: Vec<PathBuf> = which::which_re_in(re, Some(f.paths)) in test_which_re_in_without_matches()
165 assert_eq!(result, Vec::<PathBuf>::new()) in test_which_re_in_without_matches()
398 let run = || -> which::Result<PathBuf> { in test_failure()