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

Function tm_cmp_case

src/mcp/test_impact.c:1327–1336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1325}
1326
1327static int tm_cmp_case(const void *left, const void *right) {
1328 const cbm_test_case_t *a = left;
1329 const cbm_test_case_t *b = right;
1330 int by_file = tm_cmp_text(a->file, b->file);
1331 if (by_file != 0) {
1332 return by_file;
1333 }
1334 return a->start_line != b->start_line ? (a->start_line < b->start_line ? -1 : 1)
1335 : tm_cmp_text(a->name, b->name);
1336}
1337
1338static int tm_cmp_suite(const void *left, const void *right) {
1339 const cbm_test_suite_t *a = left;

Callers

nothing calls this directly

Calls 1

tm_cmp_textFunction · 0.85

Tested by

no test coverage detected