| 5946 | } |
| 5947 | |
| 5948 | static int cbm_upsert_augment_coverage_hook(const char *settings_path, const char *script_path) { |
| 5949 | return upsert_hooks_json((hooks_upsert_args_t){ |
| 5950 | .settings_path = settings_path, |
| 5951 | .hook_event = "PostToolUse", |
| 5952 | .matcher_str = "view", |
| 5953 | .command_str = script_path, |
| 5954 | .timeout_value = AUGMENT_HOOK_TIMEOUT_MS, |
| 5955 | .match_command_exact = script_path, |
| 5956 | }); |
| 5957 | } |
| 5958 | |
| 5959 | static int cbm_remove_augment_coverage_hook(const char *settings_path, const char *script_path) { |
| 5960 | return remove_hooks_json((hooks_remove_args_t){ |
no test coverage detected