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

Function cbm_install_handle_existing_indexes

src/cli/cli.c:9112–9121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9110}
9111
9112int cbm_install_handle_existing_indexes(const char *home, bool reset, bool dry_run) {
9113 bool delete_indexes = false;
9114 int prepare_result =
9115 cbm_install_prepare_existing_indexes(home, reset, dry_run, &delete_indexes);
9116 if (prepare_result == 1 && delete_indexes) {
9117 int removed = cbm_remove_indexes(home);
9118 printf("Removed %d index(es).\n\n", removed);
9119 }
9120 return prepare_result;
9121}
9122
9123/* ── Subcommand: install ──────────────────────────────────────── */
9124

Callers 1

repro_issue607.cFile · 0.85

Calls 2

cbm_remove_indexesFunction · 0.85

Tested by

no test coverage detected