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

Function on_route

src/cli/progress_sink.c:319–328  ·  view source on GitHub ↗

Handle pipeline.route event. */

Source from the content-addressed store, hash-verified

317
318/* Handle pipeline.route event. */
319static void on_route(const char *line) {
320 char val[CBM_SZ_32] = {0};
321 const char *path = extract_kv(line, "path", val, (int)sizeof(val));
322 if (path && strcmp(path, "incremental") == 0) {
323 (void)fprintf(s_out, " Starting incremental index\n");
324 } else {
325 (void)fprintf(s_out, " Starting full index\n");
326 }
327 (void)fflush(s_out);
328}
329
330/* Handle pass.start event. */
331static void on_pass_start(const char *line) {

Callers

nothing calls this directly

Calls 1

extract_kvFunction · 0.85

Tested by

no test coverage detected