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

Function build_pipe_command_from_json

src/cli/exec/multi_targets.rs:99–107  ·  view source on GitHub ↗
(json: &str)

Source from the content-addressed store, hash-verified

97}
98
99fn build_pipe_command_from_json(json: &str) -> Result<String> {
100 let exec_harness = InternalCommands::ExecHarness(ExecHarnessArgs {
101 args: vec!["-".into()],
102 })
103 .get_shell_command()?;
104 Ok(format!(
105 "{exec_harness} <<'CODSPEED_EOF'\n{json}\nCODSPEED_EOF"
106 ))
107}

Callers 1

Calls 1

get_shell_commandMethod · 0.80

Tested by

no test coverage detected