| 4431 | } |
| 4432 | |
| 4433 | static int cbm_remove_gitlab_session_hook(const char *hooks_path, const char *binary_path) { |
| 4434 | char command[CLI_BUF_8K]; |
| 4435 | if (cbm_build_augment_command(binary_path, command, sizeof(command)) != CLI_OK) { |
| 4436 | return CLI_ERR; |
| 4437 | } |
| 4438 | return remove_hooks_json((hooks_remove_args_t){ |
| 4439 | .settings_path = hooks_path, |
| 4440 | .hook_event = "SessionStart", |
| 4441 | .match_command_exact = command, |
| 4442 | }); |
| 4443 | } |
| 4444 | |
| 4445 | static int cbm_edit_devin_context_hooks(const char *config_path, const char *binary_path, |
| 4446 | bool remove, bool include_session_start) { |
no test coverage detected