| 5803 | } |
| 5804 | |
| 5805 | static int cbm_upsert_augment_coverage_hook(const char *settings_path, const char *script_path) { |
| 5806 | return upsert_hooks_json((hooks_upsert_args_t){ |
| 5807 | .settings_path = settings_path, |
| 5808 | .hook_event = "PostToolUse", |
| 5809 | .matcher_str = "view", |
| 5810 | .command_str = script_path, |
| 5811 | .timeout_value = AUGMENT_HOOK_TIMEOUT_MS, |
| 5812 | .match_command_exact = script_path, |
| 5813 | }); |
| 5814 | } |
| 5815 | |
| 5816 | static int cbm_remove_augment_coverage_hook(const char *settings_path, const char *script_path) { |
| 5817 | return remove_hooks_json((hooks_remove_args_t){ |
no test coverage detected