| 32 | } |
| 33 | |
| 34 | static const cbm_test_impact_classified_t *tic_row(const cbm_test_impact_ledger_t *ledger, |
| 35 | const if_native *n, const char *path) { |
| 36 | size_t count = 0; |
| 37 | const cbm_test_impact_classified_t *rows = cbm_test_impact_ledger_rows(ledger, &count); |
| 38 | for (size_t i = 0; i < count; i++) { |
| 39 | if (strcmp(n->input.paths[rows[i].file_index], path) == 0) { |
| 40 | return &rows[i]; |
| 41 | } |
| 42 | } |
| 43 | return NULL; |
| 44 | } |
| 45 | |
| 46 | /* The language discovery's rule gives the same bytes. */ |
| 47 | static CBMLanguage tic_expected(const char *path, const char *content) { |
no test coverage detected