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