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

Function dm_msb_same

tests/test_doc_mentions.c:1262–1275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1260}
1261
1262static bool dm_msb_same(const cbm_msb_result_t *a, const cbm_msb_result_t *b) {
1263 if (a->count != b->count || a->open != b->open || a->unevaluable != b->unevaluable ||
1264 a->outside != b->outside) {
1265 return false;
1266 }
1267 for (int i = 0; i < a->count; i++) {
1268 if (a->usings[i].kind != b->usings[i].kind ||
1269 strcmp(a->usings[i].alias, b->usings[i].alias) ||
1270 strcmp(a->usings[i].target, b->usings[i].target)) {
1271 return false;
1272 }
1273 }
1274 return true;
1275}
1276
1277static bool dm_msb_context_matches(cbm_msb_eval_context_t *context, const cbm_msb_t *m,
1278 const char *project) {

Callers 2

dm_msb_context_matchesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected