Handle pipeline.route event. */
| 317 | |
| 318 | /* Handle pipeline.route event. */ |
| 319 | static 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. */ |
| 331 | static void on_pass_start(const char *line) { |
nothing calls this directly
no test coverage detected