MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / is_daemon_unavailable

Function is_daemon_unavailable

src/tool_command.rs:282–289  ·  view source on GitHub ↗
(error: &TraceDecayError)

Source from the content-addressed store, hash-verified

280}
281
282fn is_daemon_unavailable(error: &TraceDecayError) -> bool {
283 matches!(
284 error,
285 TraceDecayError::Config { message }
286 if message.contains("TraceDecay daemon socket")
287 && message.contains("is not available")
288 )
289}
290
291fn print_tool_output(result_value: &Value, raw_json: bool) {
292 if raw_json {

Callers 1

dispatch_daemon_toolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected