MCPcopy Create free account
hub / github.com/AI45Lab/Code / fmt

Method fmt

core/src/workspace/mod.rs:317–324  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

315
316impl std::fmt::Debug for CommandRequest {
317 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
318 f.debug_struct("CommandRequest")
319 .field("command", &self.command)
320 .field("timeout_ms", &self.timeout_ms)
321 .field("output_observer", &self.output_observer.is_some())
322 .field("env", &self.env.as_ref().map(|env| env.len()))
323 .finish()
324 }
325}
326
327/// Command execution output.

Callers

nothing calls this directly

Calls 2

finishMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected