| 5115 | } |
| 5116 | |
| 5117 | static 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 | |
| 5124 | static int cbm_upsert_gitlab_session_hook(const char *hooks_path, const char *binary_path) { |
| 5125 | char command[CLI_BUF_8K]; |
no test coverage detected