| 4595 | } |
| 4596 | |
| 4597 | static int cbm_remove_gitlab_session_hook(const char *hooks_path, const char *binary_path) { |
| 4598 | char command[CLI_BUF_8K]; |
| 4599 | if (cbm_build_augment_command(binary_path, command, sizeof(command)) != CLI_OK) { |
| 4600 | return CLI_ERR; |
| 4601 | } |
| 4602 | return remove_hooks_json((hooks_remove_args_t){ |
| 4603 | .settings_path = hooks_path, |
| 4604 | .hook_event = "SessionStart", |
| 4605 | .match_command_exact = command, |
| 4606 | }); |
| 4607 | } |
| 4608 | |
| 4609 | static int cbm_edit_devin_context_hooks(const char *config_path, const char *binary_path, |
| 4610 | bool remove, bool include_session_start) { |
no test coverage detected