(prefix: &str, version: &str)
| 138 | } |
| 139 | |
| 140 | fn platform_asset_name(prefix: &str, version: &str) -> String { |
| 141 | let platform = current_platform(); |
| 142 | let ext = if cfg!(windows) { "zip" } else { "tar.gz" }; |
| 143 | format!("{prefix}-v{version}-{platform}.{ext}") |
| 144 | } |
| 145 | |
| 146 | /// Candidate asset names for explicit release installs. |
| 147 | pub(crate) fn asset_name_candidates(version: &str, is_beta: bool) -> [String; 1] { |
no test coverage detected