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

Function on_route

src/cli/progress_sink.c:104–113  ·  view source on GitHub ↗

Handle pipeline.route event. */

Source from the content-addressed store, hash-verified

102
103/* Handle pipeline.route event. */
104static void on_route(const char *line) {
105 char val[CBM_SZ_32] = {0};
106 const char *path = extract_kv(line, "path", val, (int)sizeof(val));
107 if (path && strcmp(path, "incremental") == 0) {
108 (void)fprintf(s_out, " Starting incremental index\n");
109 } else {
110 (void)fprintf(s_out, " Starting full index\n");
111 }
112 (void)fflush(s_out);
113}
114
115/* Handle pass.start event. */
116static void on_pass_start(const char *line) {

Callers

nothing calls this directly

Calls 1

extract_kvFunction · 0.85

Tested by

no test coverage detected