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

Function gd_fail

src/store/store_graph_digest.c:152–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150} gd_text_t;
151
152static bool gd_fail(gd_context_t *g, cbm_store_graph_digest_status_t status) {
153 if (g->status == CBM_STORE_GRAPH_DIGEST_OK) {
154 g->status = status;
155 if (g->scope) {
156 (void)cbm_store_read_scope_fail(g->scope, status == CBM_STORE_GRAPH_DIGEST_CANCELLED
157 ? CBM_STORE_CANCELLED
158 : CBM_STORE_ERR);
159 }
160 }
161 return false;
162}
163
164static bool gd_check(gd_context_t *g) {
165 if (g->scope) {

Callers 15

gd_checkFunction · 0.85
gd_sql_failureFunction · 0.85
gd_prepareFunction · 0.85
gd_read_textFunction · 0.85
gd_bytesFunction · 0.85
gd_valueFunction · 0.85
gd_encodingFunction · 0.85
gd_table_kindsFunction · 0.85
gd_columnsFunction · 0.85
gd_projectFunction · 0.85
gd_table_headerFunction · 0.85
gd_generationFunction · 0.85

Calls 1

Tested by

no test coverage detected