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

Function index_repo

tests/test_incremental.c:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107static char *index_repo(void) {
108 char args[512];
109 snprintf(args, sizeof(args), "{\"repo_path\":\"%s\"}", g_repodir);
110 return cbm_mcp_handle_tool(g_srv, "index_repository", args);
111}
112
113/* Timed index: returns response, sets *elapsed_ms and *peak_rss_mb */
114static char *index_repo_timed(double *elapsed_ms, size_t *peak_rss_mb) {

Callers 2

index_repo_timedFunction · 0.85
test_incremental.cFile · 0.85

Calls 1

cbm_mcp_handle_toolFunction · 0.85

Tested by

no test coverage detected