pub trait Probe {
// Required methods
fn exists(&self, p: &Path) -> bool;
fn run_version(&self, exe: &Path) -> Option<String>;
fn which(&self, name: &str) -> Option<PathBuf>;
}Expand description
Filesystem/process injection trait for testability.