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

Function stem_index

tests/test_pipeline.c:4852–4862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4850}
4851
4852static int stem_index(const char *repo, const char *db) {
4853 cbm_pipeline_t *p = cbm_pipeline_new(repo, db, CBM_MODE_FULL);
4854 if (!p) {
4855 return -1;
4856 }
4857 (void)cbm_pipeline_set_project_name(p, "stem");
4858 cbm_pipeline_set_persistence(p, false);
4859 int rc = cbm_pipeline_run(p);
4860 cbm_pipeline_free(p);
4861 return rc;
4862}
4863
4864static void stem_unlink(const char *tmp, const char *rel) {
4865 char path[512];

Callers 1

test_pipeline.cFile · 0.85

Calls 5

cbm_pipeline_newFunction · 0.85
cbm_pipeline_runFunction · 0.85
cbm_pipeline_freeFunction · 0.85

Tested by

no test coverage detected