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

Function cbm_remove_claude_hooks

src/cli/cli.c:2031–2038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2029}
2030
2031int cbm_remove_claude_hooks(const char *settings_path) {
2032 return remove_hooks_json((hooks_remove_args_t){
2033 .settings_path = settings_path,
2034 .hook_event = "PreToolUse",
2035 .matcher_str = CMM_HOOK_MATCHER,
2036 .old_matchers = cmm_claude_old_matchers,
2037 });
2038}
2039
2040/* Install the search-augmenter shim to ~/.claude/hooks/.
2041 * The shim is a thin wrapper that delegates to `<binary> hook-augment`,

Callers 2

uninstall_claude_codeFunction · 0.85
test_cli.cFile · 0.85

Calls 1

remove_hooks_jsonFunction · 0.85

Tested by

no test coverage detected