| 5720 | } |
| 5721 | |
| 5722 | static int cbm_upsert_augment_coverage_hook(const char *settings_path, const char *script_path) { |
| 5723 | return upsert_hooks_json((hooks_upsert_args_t){ |
| 5724 | .settings_path = settings_path, |
| 5725 | .hook_event = "PostToolUse", |
| 5726 | .matcher_str = "view", |
| 5727 | .command_str = script_path, |
| 5728 | .timeout_value = AUGMENT_HOOK_TIMEOUT_MS, |
| 5729 | .match_command_exact = script_path, |
| 5730 | }); |
| 5731 | } |
| 5732 | |
| 5733 | static int cbm_remove_augment_coverage_hook(const char *settings_path, const char *script_path) { |
| 5734 | return remove_hooks_json((hooks_remove_args_t){ |
no test coverage detected