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

Method ping

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

Source from the content-addressed store, hash-verified

75 }
76
77 pub fn ping(&self) -> Result<()> {
78 let response = self.send_command(IpcCommand::Ping)?;
79 match response {
80 IpcResponse::Ack => Ok(()),
81 IpcResponse::Err => anyhow::bail!("Failed to ping memtrack"),
82 }
83 }
84}
85
86/// Handle incoming IPC messages in memtrack

Callers

nothing calls this directly

Calls 1

send_commandMethod · 0.80

Tested by

no test coverage detected