| 150 | } gd_text_t; |
| 151 | |
| 152 | static 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 | |
| 164 | static bool gd_check(gd_context_t *g) { |
| 165 | if (g->scope) { |
no test coverage detected