MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / is_executable_available

Function is_executable_available

src/executor/valgrind/build_from_source.rs:40–47  ·  view source on GitHub ↗
(executable: &str)

Source from the content-addressed store, hash-verified

38];
39
40fn is_executable_available(executable: &str) -> bool {
41 Command::new("which")
42 .arg(executable)
43 .stdout(Stdio::null())
44 .stderr(Stdio::null())
45 .status()
46 .is_ok_and(|status| status.success())
47}
48
49/// Names of the missing build dependencies, one per unsatisfied requirement.
50fn missing_build_dependencies() -> Vec<&'static str> {

Callers 1

Calls 1

argMethod · 0.80

Tested by

no test coverage detected