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

Function cbm_remove_kimi_context_hook

src/cli/cli.c:5117–5122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5115}
5116
5117static int cbm_remove_kimi_context_hook(const char *config_path) {
5118 return cbm_toml_remove_managed_block_owned(config_path, KIMI_HOOK_BEGIN, KIMI_HOOK_END,
5119 "[[hooks]]\n") == 0
5120 ? CLI_OK
5121 : CLI_ERR;
5122}
5123
5124static int cbm_upsert_gitlab_session_hook(const char *hooks_path, const char *binary_path) {
5125 char command[CLI_BUF_8K];

Callers 1

Tested by

no test coverage detected