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

Function gb_settle_one

src/graph_buffer/graph_buffer.c:1155–1163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1153}
1154
1155static void gb_settle_one(const char *qn, void *value, void *ud) {
1156 cbm_gbuf_t *gb = ud;
1157 gb_span_vec_t *vec = value;
1158 cbm_gbuf_node_t *node = gb->node_by_qn ? cbm_ht_get(gb->node_by_qn, qn) : NULL;
1159 if (node && vec) {
1160 gb_write_variants(node, vec);
1161 }
1162 gb_span_vec_free(vec);
1163}
1164
1165static void gb_free_span_vec(const char *qn, void *value, void *ud) {
1166 (void)qn;

Callers

nothing calls this directly

Calls 3

cbm_ht_getFunction · 0.85
gb_write_variantsFunction · 0.85
gb_span_vec_freeFunction · 0.85

Tested by

no test coverage detected