Handle pipeline.route event. */
| 240 | |
| 241 | /* Handle pipeline.route event. */ |
| 242 | static void on_route(const char *line) { |
| 243 | char val[CBM_SZ_32] = {0}; |
| 244 | const char *path = extract_kv(line, "path", val, (int)sizeof(val)); |
| 245 | if (path && strcmp(path, "incremental") == 0) { |
| 246 | (void)fprintf(s_out, " Starting incremental index\n"); |
| 247 | } else { |
| 248 | (void)fprintf(s_out, " Starting full index\n"); |
| 249 | } |
| 250 | (void)fflush(s_out); |
| 251 | } |
| 252 | |
| 253 | /* Handle pass.start event. */ |
| 254 | static void on_pass_start(const char *line) { |
nothing calls this directly
no test coverage detected