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

Function gmt_edge_eq

tests/test_graph_mem.c:148–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148static bool gmt_edge_eq(const cbm_edge_info_t *a, const cbm_edge_info_t *b) {
149 return gmt_str_eq(a->from_name, b->from_name) && gmt_str_eq(a->to_name, b->to_name) &&
150 gmt_str_eq(a->type, b->type) && a->confidence == b->confidence &&
151 a->source_id == b->source_id && a->target_id == b->target_id &&
152 gmt_str_eq(a->properties_json, b->properties_json);
153}
154
155static bool gmt_traverse_eq(const cbm_traverse_result_t *a, const cbm_traverse_result_t *b) {
156 if (!gmt_node_eq(&a->root, &b->root) || a->visited_count != b->visited_count ||

Callers 1

gmt_traverse_eqFunction · 0.85

Calls 1

gmt_str_eqFunction · 0.85

Tested by

no test coverage detected