| 6613 | } |
| 6614 | |
| 6615 | static int cbm_upsert_augment_coverage_hook(const char *settings_path, const char *script_path) { |
| 6616 | return upsert_hooks_json((hooks_upsert_args_t){ |
| 6617 | .settings_path = settings_path, |
| 6618 | .hook_event = "PostToolUse", |
| 6619 | .matcher_str = "view", |
| 6620 | .command_str = script_path, |
| 6621 | .timeout_value = AUGMENT_HOOK_TIMEOUT_MS, |
| 6622 | .match_command_exact = script_path, |
| 6623 | }); |
| 6624 | } |
| 6625 | |
| 6626 | static int cbm_remove_augment_coverage_hook(const char *settings_path, const char *script_path) { |
| 6627 | return remove_hooks_json((hooks_remove_args_t){ |
no test coverage detected