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

Function on_discover

src/cli/progress_sink.c:231–239  ·  view source on GitHub ↗

Handle pipeline.discover event. */

Source from the content-addressed store, hash-verified

229
230/* Handle pipeline.discover event. */
231static void on_discover(const char *line) {
232 char files[CBM_SZ_32] = {0};
233 if (extract_kv(line, "files", files, (int)sizeof(files))) {
234 (void)fprintf(s_out, " Discovering files (%s found)\n", files);
235 } else {
236 (void)fprintf(s_out, " Discovering files...\n");
237 }
238 (void)fflush(s_out);
239}
240
241/* Handle pipeline.route event. */
242static void on_route(const char *line) {

Callers

nothing calls this directly

Calls 1

extract_kvFunction · 0.85

Tested by

no test coverage detected