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

Function unit_using_cmp

src/pipeline/doc_links_cs.c:1546–1554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1544}
1545
1546static int unit_using_cmp(const void *a, const void *b) {
1547 const cs_using_t *x = (const cs_using_t *)a;
1548 const cs_using_t *y = (const cs_using_t *)b;
1549 if (x->kind != y->kind) {
1550 return x->kind < y->kind ? -1 : 1;
1551 }
1552 int c = strcmp(x->alias, y->alias);
1553 return c ? c : strcmp(x->target, y->target);
1554}
1555
1556/* What the project files could not tell, over all of them. */
1557typedef struct {

Callers 1

units_collect_usingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected