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

Function cbm_remove_devin_session_hook

src/cli/cli.c:4422–4433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4420}
4421
4422static int cbm_remove_devin_session_hook(const char *config_path, const char *binary_path) {
4423 char command[CLI_BUF_8K];
4424 if (cbm_build_augment_dialect_command(binary_path, "devin", command, sizeof(command)) !=
4425 CLI_OK) {
4426 return CLI_ERR;
4427 }
4428 return remove_hooks_json((hooks_remove_args_t){
4429 .settings_path = config_path,
4430 .hook_event = "SessionStart",
4431 .match_command_exact = command,
4432 });
4433}
4434
4435#define CMM_HERMES_HOOK_ID "codebase-memory-mcp"
4436

Callers 1

Calls 2

remove_hooks_jsonFunction · 0.85

Tested by

no test coverage detected