| 5509 | |
| 5510 | #ifndef _WIN32 |
| 5511 | static int cbm_upsert_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 5512 | char command[CLI_BUF_8K]; |
| 5513 | if (cbm_build_augment_dialect_command(binary_path, "gemini", command, sizeof(command)) != |
| 5514 | CLI_OK) { |
| 5515 | return CLI_ERR; |
| 5516 | } |
| 5517 | return upsert_hooks_json((hooks_upsert_args_t){ |
| 5518 | .settings_path = settings_path, |
| 5519 | .hook_event = "AfterTool", |
| 5520 | .matcher_str = "read_file", |
| 5521 | .command_str = command, |
| 5522 | .timeout_value = GEMINI_HOOK_TIMEOUT_MS, |
| 5523 | .match_command_exact = command, |
| 5524 | }); |
| 5525 | } |
| 5526 | |
| 5527 | static int cbm_remove_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 5528 | char command[CLI_BUF_8K]; |
no test coverage detected