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

Function tm_cmp_registration

src/mcp/test_impact.c:1349–1357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1347}
1348
1349static int tm_cmp_registration(const void *left, const void *right) {
1350 const cbm_test_registration_t *a = left;
1351 const cbm_test_registration_t *b = right;
1352 int by_file = tm_cmp_text(a->file, b->file);
1353 if (by_file != 0) {
1354 return by_file;
1355 }
1356 return a->line != b->line ? (a->line < b->line ? -1 : 1) : tm_cmp_text(a->test, b->test);
1357}
1358
1359static int tm_cmp_runner(const void *left, const void *right) {
1360 const cbm_test_runner_suite_t *a = left;

Callers

nothing calls this directly

Calls 1

tm_cmp_textFunction · 0.85

Tested by

no test coverage detected