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

Function rb_distinct_keep

src/cypher/cypher.c:3142–3146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3140}
3141
3142static void rb_distinct_keep(rb_distinct_t *d, char *key) {
3143 if (key) {
3144 cbm_ht_set(d->seen, key, key);
3145 }
3146}
3147
3148/* Add one projected row under a row cap, de-duplicating when DISTINCT.
3149 * Returns false once a NEW row arrives with the cap already full: the caller

Callers 1

rb_add_row_cappedFunction · 0.85

Calls 1

cbm_ht_setFunction · 0.85

Tested by

no test coverage detected