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

Method disable

crates/memtrack/src/ipc.rs:69–75  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

67 }
68
69 pub fn disable(&self) -> Result<()> {
70 let response = self.send_command(IpcCommand::Disable)?;
71 match response {
72 IpcResponse::Ack => Ok(()),
73 IpcResponse::Err => anyhow::bail!("Failed to disable tracking"),
74 }
75 }
76
77 pub fn ping(&self) -> Result<()> {
78 let response = self.send_command(IpcCommand::Ping)?;

Callers 2

handle_fifoMethod · 0.45
handle_ipc_messageFunction · 0.45

Calls 1

send_commandMethod · 0.80

Tested by

no test coverage detected