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

Function gd_step

src/store/store_graph_digest.c:196–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196static int gd_step(gd_context_t *g) {
197 if (!gd_check(g)) {
198 return SQLITE_ERROR;
199 }
200 int rc = sqlite3_step(g->stmt);
201 if (rc != SQLITE_ROW && rc != SQLITE_DONE) {
202 gd_sql_failure(g, rc);
203 }
204 return gd_check(g) ? rc : SQLITE_ERROR;
205}
206
207/* Destruction is unconditional, including after the scope has been poisoned. */
208static bool gd_finalize(gd_context_t *g) {

Callers 6

gd_encodingFunction · 0.85
gd_table_kindsFunction · 0.85
gd_columnsFunction · 0.85
gd_projectFunction · 0.85
gd_table_headerFunction · 0.85
gd_table_rowsFunction · 0.85

Calls 2

gd_checkFunction · 0.85
gd_sql_failureFunction · 0.85

Tested by

no test coverage detected