| 15475 | } doccand_executor_capture_t; |
| 15476 | |
| 15477 | static 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). */ |
nothing calls this directly
no test coverage detected