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

Function tic_row

tests/test_test_impact_classify.c:34–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34static 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. */
47static CBMLanguage tic_expected(const char *path, const char *content) {

Callers 1

Calls 1

Tested by

no test coverage detected