| 4369 | } |
| 4370 | |
| 4371 | static int cbm_remove_gitlab_session_hook(const char *hooks_path, const char *binary_path) { |
| 4372 | char command[CLI_BUF_8K]; |
| 4373 | if (cbm_build_augment_command(binary_path, command, sizeof(command)) != CLI_OK) { |
| 4374 | return CLI_ERR; |
| 4375 | } |
| 4376 | return remove_hooks_json((hooks_remove_args_t){ |
| 4377 | .settings_path = hooks_path, |
| 4378 | .hook_event = "SessionStart", |
| 4379 | .match_command_exact = command, |
| 4380 | }); |
| 4381 | } |
| 4382 | |
| 4383 | static int cbm_edit_devin_context_hooks(const char *config_path, const char *binary_path, |
| 4384 | bool remove, bool include_session_start) { |
no test coverage detected