| 5447 | |
| 5448 | #ifndef _WIN32 |
| 5449 | static int cbm_upsert_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 5450 | char command[CLI_BUF_8K]; |
| 5451 | if (cbm_build_augment_dialect_command(binary_path, "gemini", command, sizeof(command)) != |
| 5452 | CLI_OK) { |
| 5453 | return CLI_ERR; |
| 5454 | } |
| 5455 | return upsert_hooks_json((hooks_upsert_args_t){ |
| 5456 | .settings_path = settings_path, |
| 5457 | .hook_event = "AfterTool", |
| 5458 | .matcher_str = "read_file", |
| 5459 | .command_str = command, |
| 5460 | .timeout_value = GEMINI_HOOK_TIMEOUT_MS, |
| 5461 | .match_command_exact = command, |
| 5462 | }); |
| 5463 | } |
| 5464 | |
| 5465 | static int cbm_remove_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 5466 | char command[CLI_BUF_8K]; |
no test coverage detected