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

Function cmp_cstr

tests/test_cypher.c:5348–5350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5346}
5347
5348static int cmp_cstr(const void *a, const void *b) {
5349 return strcmp(*(const char *const *)a, *(const char *const *)b);
5350}
5351
5352/* Runs `query` and checks that its first column holds exactly the names in
5353 * `expected`, given in strcmp order; the rows are sorted the same way so the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected