| 6340 | |
| 6341 | #ifndef _WIN32 |
| 6342 | static int cbm_upsert_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 6343 | char command[CLI_BUF_8K]; |
| 6344 | if (cbm_build_augment_dialect_command(binary_path, "gemini", command, sizeof(command)) != |
| 6345 | CLI_OK) { |
| 6346 | return CLI_ERR; |
| 6347 | } |
| 6348 | return upsert_hooks_json((hooks_upsert_args_t){ |
| 6349 | .settings_path = settings_path, |
| 6350 | .hook_event = "AfterTool", |
| 6351 | .matcher_str = "read_file", |
| 6352 | .command_str = command, |
| 6353 | .timeout_value = GEMINI_HOOK_TIMEOUT_MS, |
| 6354 | .match_command_exact = command, |
| 6355 | }); |
| 6356 | } |
| 6357 | |
| 6358 | static int cbm_remove_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 6359 | char command[CLI_BUF_8K]; |
no test coverage detected