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

Function binding_get_edge

src/cypher/cypher.c:2425–2432  ·  view source on GitHub ↗

Find an edge variable in a binding */

Source from the content-addressed store, hash-verified

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