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

Function mcp_run_shell_command_cancellable

src/mcp/mcp.c:10343–10348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10341}
10342
10343static int mcp_run_shell_command_cancellable(cbm_mcp_server_t *srv, const char *command,
10344 char output_path[CBM_SZ_2K],
10345 cbm_proc_result_t *result_out) {
10346 return mcp_run_shell_command_cancellable_bounded(srv, command, output_path, 0, NULL,
10347 result_out);
10348}
10349
10350/* Does `node`'s line range overlap any recorded hunk for `file`? Used to scope
10351 * seed detection to the actually-changed lines rather than the whole file.

Callers 1

handle_detect_changesFunction · 0.85

Tested by

no test coverage detected