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

Function edge_array_push

src/graph_buffer/graph_buffer.c:531–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529 * has no secondary indexes (worker buffers). */
530enum { GB_INDEX_ARRAY_FIRST_CAP = 2 };
531static void edge_array_push(edge_ptr_array_t *arr, const cbm_gbuf_edge_t *edge) {
532 if (!arr) {
533 return;
534 }
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;

Callers 1

index_edge_by_keyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected