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

Function tm_cmp_suite

src/mcp/test_impact.c:1338–1347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1336}
1337
1338static int tm_cmp_suite(const void *left, const void *right) {
1339 const cbm_test_suite_t *a = left;
1340 const cbm_test_suite_t *b = right;
1341 int by_file = tm_cmp_text(a->file, b->file);
1342 if (by_file != 0) {
1343 return by_file;
1344 }
1345 return a->start_line != b->start_line ? (a->start_line < b->start_line ? -1 : 1)
1346 : tm_cmp_text(a->name, b->name);
1347}
1348
1349static int tm_cmp_registration(const void *left, const void *right) {
1350 const cbm_test_registration_t *a = left;

Callers

nothing calls this directly

Calls 1

tm_cmp_textFunction · 0.85

Tested by

no test coverage detected