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

Function binding_get_edge

src/cypher/cypher.c:2424–2431  ·  view source on GitHub ↗

Find an edge variable in a binding */

Source from the content-addressed store, hash-verified

2422
2423/* Find an edge variable in a binding */
2424static cbm_edge_t *binding_get_edge(binding_t *b, const char *var) {
2425 for (int i = 0; i < b->edge_var_count; i++) {
2426 if (strcmp(b->edge_var_names[i], var) == 0) {
2427 return &b->edge_vars[i];
2428 }
2429 }
2430 return NULL;
2431}
2432
2433/* Find a variable's node in a binding */
2434static cbm_node_t *binding_get(binding_t *b, const char *var) {

Callers 4

resolve_condition_valueFunction · 0.85
binding_get_virtualFunction · 0.85
project_itemFunction · 0.85
project_star_varFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected