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

Function node_scan_phase_done

src/store/store.c:3507–3516  ·  view source on GitHub ↗

The current phase has no rows left. The NULL file_path rows hand over to * the files, the rest of a file to the files after it; a label's rows and * the files after the last one end the scan. */

Source from the content-addressed store, hash-verified

3505 * the files, the rest of a file to the files after it; a label's rows and
3506 * the files after the last one end the scan. */
3507static void node_scan_phase_done(cbm_store_node_scan_t *scan) {
3508 if (scan->phase == NODE_SCAN_NULL_FILE) {
3509 scan->keyed = false;
3510 scan->phase = NODE_SCAN_FILE_AFTER;
3511 } else if (scan->phase == NODE_SCAN_FILE_SAME) {
3512 scan->phase = NODE_SCAN_FILE_AFTER; /* after last_file */
3513 } else {
3514 scan->done = true;
3515 }
3516}
3517
3518static void node_scan_bind(cbm_store_node_scan_t *scan, sqlite3_stmt *stmt, node_scan_stmt_t which,
3519 int max) {

Callers 1

node_scan_pageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected