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

Function doccand_capture_executor

tests/test_mcp.c:15477–15486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15475} doccand_executor_capture_t;
15476
15477static char *doccand_capture_executor(void *context, const char *repo_path, const char *args_json,
15478 bool async) {
15479 (void)repo_path;
15480 (void)async;
15481 doccand_executor_capture_t *capture = context;
15482 free(capture->args);
15483 capture->args = args_json ? strdup(args_json) : NULL;
15484 capture->calls++;
15485 return cbm_mcp_text_result("{\"status\":\"indexed\"}", false);
15486}
15487
15488/* The doc_candidates key of captured worker args: 1 true, 0 false, -1 absent,
15489 * -2 not a single boolean (or unparseable args). */

Callers

nothing calls this directly

Calls 1

cbm_mcp_text_resultFunction · 0.85

Tested by

no test coverage detected