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

Function gb_id_cmp

src/graph_buffer/graph_buffer.c:855–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853}
854
855static int gb_id_cmp(const void *a, const void *b) {
856 int64_t x = *(const int64_t *)a;
857 int64_t y = *(const int64_t *)b;
858 return (x > y) - (x < y);
859}
860
861int cbm_gbuf_duplicate_edge_ids(const cbm_gbuf_t *gb) {
862 if (!gb || gb->edges.count < 2) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected