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

Function gd_equal

tests/test_store_graph_digest.c:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 return true;
79}
80static bool gd_equal(const cbm_store_graph_digest_t *a,const cbm_store_graph_digest_t *b) {
81 return a->version==b->version && a->rows==b->rows && a->framed_bytes==b->framed_bytes &&
82 memcmp(a->sha256,b->sha256,sizeof(a->sha256))==0;
83}
84static bool gd_different(const cbm_store_graph_digest_t *a,const cbm_store_graph_digest_t *b) {
85 return memcmp(a->sha256,b->sha256,sizeof(a->sha256))!=0;
86}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected