MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / diagnostics_discovery_sink

Function diagnostics_discovery_sink

tests/test_diagnostics.c:320–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318static int diagnostics_discovery_records;
319
320static void diagnostics_discovery_sink(const char *line) {
321 if (!line || !strstr(line, "\"event\":\"diagnostics.start\"")) {
322 return;
323 }
324 diagnostics_discovery_records++;
325 (void)snprintf(diagnostics_discovery_line, sizeof(diagnostics_discovery_line), "%s", line);
326}
327
328static bool diagnostics_discovery_value(const char *key, char *out, size_t out_size) {
329 char marker[64];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected