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

Function live_noop_run

tests/test_pipeline.c:6186–6197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6184}
6185
6186static int live_noop_run(const char *repo, const char *db_path, cbm_incremental_route_t *route) {
6187 cbm_pipeline_incremental_test_reset_faults();
6188 *route = CBM_INCREMENTAL_ROUTE_NONE;
6189 cbm_pipeline_t *p = cbm_pipeline_new(repo, db_path, CBM_MODE_FULL);
6190 if (!p) {
6191 return CBM_NOT_FOUND;
6192 }
6193 int rc = cbm_pipeline_run(p);
6194 *route = cbm_pipeline_incremental_test_last_route();
6195 cbm_pipeline_free(p);
6196 return rc;
6197}
6198
6199/* An unchanged re-index proves the exact no-op on the LIVE generation. It
6200 * never copies the database into a stage, seals the copy and renames it back

Callers 1

test_pipeline.cFile · 0.85

Tested by

no test coverage detected