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

Function cbm_remove_gemini_hooks

src/cli/cli.c:2265–2272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2263}
2264
2265int cbm_remove_gemini_hooks(const char *settings_path) {
2266 return remove_hooks_json((hooks_remove_args_t){
2267 .settings_path = settings_path,
2268 .hook_event = "BeforeTool",
2269 .matcher_str = GEMINI_HOOK_MATCHER,
2270 .old_matchers = cmm_gemini_old_matchers,
2271 });
2272}
2273
2274/* Gemini CLI / Antigravity SessionStart reminder. settings.json uses the same
2275 * hooks.<Event>[].hooks[] JSON shape as Claude, so it reuses upsert_hooks_json.

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