()
| 300 | } |
| 301 | |
| 302 | fn read_cache_path() -> String { |
| 303 | let mut cache_path: String = path_to_string(&default_cache_folder()); |
| 304 | CACHE_PATH.with(|value| { |
| 305 | let path: String = (&*value.borrow().to_string()).into(); |
| 306 | if !path.is_empty() { |
| 307 | cache_path = path; |
| 308 | } |
| 309 | }); |
| 310 | cache_path |
| 311 | } |
| 312 | |
| 313 | #[cfg(windows)] |
| 314 | fn get_win_os_architecture() -> String { |
no test coverage detected