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

Function matches

src/executor/helpers/detect_executable.rs:42–44  ·  view source on GitHub ↗
(#[case] command: &str, #[case] names: &[&str])

Source from the content-addressed store, hash-verified

40 #[case("mvn test", &["gradle", "java", "maven", "mvn"])]
41 #[case("./java -jar bench.jar", &["java"])]
42 fn matches(#[case] command: &str, #[case] names: &[&str]) {
43 assert!(command_has_executable(command, names));
44 }
45
46 #[rstest]
47 #[case("javascript-runtime run", &["java"])]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected