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

Function read_published_generation

tests/test_pipeline.c:5427–5435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5425
5426#if defined(CBM_INCREMENTAL_TEST_API) && CBM_INCREMENTAL_TEST_API
5427static int read_published_generation(const char *db_path, char *out, size_t out_size) {
5428 cbm_store_t *store = cbm_store_open_path_query(db_path);
5429 if (!store) {
5430 return CBM_STORE_ERR;
5431 }
5432 int rc = cbm_store_generation(store, out, out_size);
5433 cbm_store_close(store);
5434 return rc;
5435}
5436
5437static bool split_published_generation(const char *generation, char uid[18],
5438 unsigned long long *mutation) {

Callers 1

test_pipeline.cFile · 0.85

Calls 3

cbm_store_generationFunction · 0.85
cbm_store_closeFunction · 0.85

Tested by

no test coverage detected