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

Function on_discover

src/cli/progress_sink.c:93–101  ·  view source on GitHub ↗

Handle pipeline.discover event. */

Source from the content-addressed store, hash-verified

91
92/* Handle pipeline.discover event. */
93static void on_discover(const char *line) {
94 char files[CBM_SZ_32] = {0};
95 if (extract_kv(line, "files", files, (int)sizeof(files))) {
96 (void)fprintf(s_out, " Discovering files (%s found)\n", files);
97 } else {
98 (void)fprintf(s_out, " Discovering files...\n");
99 }
100 (void)fflush(s_out);
101}
102
103/* Handle pipeline.route event. */
104static void on_route(const char *line) {

Callers

nothing calls this directly

Calls 1

extract_kvFunction · 0.85

Tested by

no test coverage detected