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

Function cbm_remove_gemini_coverage_hook

src/cli/cli.c:5691–5703  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5689}
5690
5691static int cbm_remove_gemini_coverage_hook(const char *settings_path, const char *binary_path) {
5692 char command[CLI_BUF_8K];
5693 if (cbm_build_augment_dialect_command(binary_path, "gemini", command, sizeof(command)) !=
5694 CLI_OK) {
5695 return CLI_ERR;
5696 }
5697 return remove_hooks_json((hooks_remove_args_t){
5698 .settings_path = settings_path,
5699 .hook_event = "AfterTool",
5700 .matcher_str = "read_file",
5701 .match_command_exact = command,
5702 });
5703}
5704#endif
5705
5706/* Gemini CLI SessionStart reminder. settings.json uses the same

Callers 1

uninstall_gemini_configFunction · 0.85

Calls 2

remove_hooks_jsonFunction · 0.85

Tested by

no test coverage detected