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

Function node_array_push

src/graph_buffer/graph_buffer.c:537–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535 cbm_da_push_min(arr, edge, GB_INDEX_ARRAY_FIRST_CAP);
536}
537static void node_array_push(node_ptr_array_t *arr, const cbm_gbuf_node_t *node) {
538 if (!arr) {
539 return;
540 }
541 cbm_da_push_min(arr, node, GB_INDEX_ARRAY_FIRST_CAP);
542}
543
544/* Index an edge by one key into a hash table bucket. */
545static void index_edge_by_key(CBMHashTable *ht, const char *key, cbm_gbuf_edge_t *edge) {

Callers 3

register_node_in_indexesFunction · 0.85
cbm_gbuf_upsert_nodeFunction · 0.85
merge_update_existingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected