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

Function cbm_remove_gemini_hooks

src/cli/cli.c:5497–5506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5495}
5496
5497int cbm_remove_gemini_hooks(const char *settings_path) {
5498 return remove_hooks_json((hooks_remove_args_t){
5499 .settings_path = settings_path,
5500 .hook_event = "BeforeTool",
5501 .matcher_str = GEMINI_HOOK_MATCHER,
5502 .old_matchers = cmm_gemini_old_matchers,
5503 .old_commands = cmm_gemini_released_hook_commands,
5504 .match_command_exact = GEMINI_HOOK_COMMAND,
5505 });
5506}
5507
5508#define GEMINI_HOOK_TIMEOUT_MS 5000
5509

Callers 2

uninstall_gemini_configFunction · 0.85
test_cli.cFile · 0.85

Calls 1

remove_hooks_jsonFunction · 0.85

Tested by

no test coverage detected