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

Function gmt_node_eq

tests/test_graph_mem.c:141–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141static bool gmt_node_eq(const cbm_node_t *a, const cbm_node_t *b) {
142 return a->id == b->id && gmt_str_eq(a->project, b->project) && gmt_str_eq(a->label, b->label) &&
143 gmt_str_eq(a->name, b->name) && gmt_str_eq(a->qualified_name, b->qualified_name) &&
144 gmt_str_eq(a->file_path, b->file_path) && a->start_line == b->start_line &&
145 a->end_line == b->end_line && gmt_str_eq(a->properties_json, b->properties_json);
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) &&

Callers 2

gmt_traverse_eqFunction · 0.85
gmt_search_sameFunction · 0.85

Calls 1

gmt_str_eqFunction · 0.85

Tested by

no test coverage detected