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

Function index_repo

tests/test_incremental.c:106–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106static char *index_repo(void) {
107 char args[512];
108 snprintf(args, sizeof(args), "{\"repo_path\":\"%s\"}", g_repodir);
109 return cbm_mcp_handle_tool(g_srv, "index_repository", args);
110}
111
112/* Timed index: returns response, sets *elapsed_ms and *peak_rss_mb */
113static 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