| 5530 | |
| 5531 | #ifndef _WIN32 |
| 5532 | static int cbm_upsert_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 5533 | char command[CLI_BUF_8K]; |
| 5534 | if (cbm_build_augment_dialect_command(binary_path, "gemini", command, sizeof(command)) != |
| 5535 | CLI_OK) { |
| 5536 | return CLI_ERR; |
| 5537 | } |
| 5538 | return upsert_hooks_json((hooks_upsert_args_t){ |
| 5539 | .settings_path = settings_path, |
| 5540 | .hook_event = "AfterTool", |
| 5541 | .matcher_str = "read_file", |
| 5542 | .command_str = command, |
| 5543 | .timeout_value = GEMINI_HOOK_TIMEOUT_MS, |
| 5544 | .match_command_exact = command, |
| 5545 | }); |
| 5546 | } |
| 5547 | |
| 5548 | static int cbm_remove_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 5549 | char command[CLI_BUF_8K]; |
no test coverage detected