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

Function stream_run

tests/test_cypher.c:5845–5852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5843 * every start node's expansion order. */
5844
5845static int stream_run(cbm_store_t *s, const char *query, int max_rows, int chunk,
5846 cbm_cypher_result_t *out) {
5847 memset(out, 0, sizeof(*out));
5848 cbm_cypher_test_set_stream_chunk(chunk);
5849 int rc = cbm_cypher_execute(s, query, "test", max_rows, out);
5850 cbm_cypher_test_set_stream_chunk(0);
5851 return rc;
5852}
5853
5854static bool stream_same_str(const char *a, const char *b) {
5855 return (!a && !b) || (a && b && strcmp(a, b) == 0);

Callers 2

test_cypher.cFile · 0.85

Calls 2

cbm_cypher_executeFunction · 0.85

Tested by

no test coverage detected