| 5673 | |
| 5674 | #ifndef _WIN32 |
| 5675 | static int cbm_upsert_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 5676 | char command[CLI_BUF_8K]; |
| 5677 | if (cbm_build_augment_dialect_command(binary_path, "gemini", command, sizeof(command)) != |
| 5678 | CLI_OK) { |
| 5679 | return CLI_ERR; |
| 5680 | } |
| 5681 | return upsert_hooks_json((hooks_upsert_args_t){ |
| 5682 | .settings_path = settings_path, |
| 5683 | .hook_event = "AfterTool", |
| 5684 | .matcher_str = "read_file", |
| 5685 | .command_str = command, |
| 5686 | .timeout_value = GEMINI_HOOK_TIMEOUT_MS, |
| 5687 | .match_command_exact = command, |
| 5688 | }); |
| 5689 | } |
| 5690 | |
| 5691 | static int cbm_remove_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 5692 | char command[CLI_BUF_8K]; |
no test coverage detected