()
| 281 | } |
| 282 | |
| 283 | pub fn get_exe_time() -> SystemTime { |
| 284 | std::env::current_exe().map_or(UNIX_EPOCH, |path| { |
| 285 | let m = get_modified_time(&path); |
| 286 | let c = get_created_time(&path); |
| 287 | if m > c { |
| 288 | m |
| 289 | } else { |
| 290 | c |
| 291 | } |
| 292 | }) |
| 293 | } |
| 294 | |
| 295 | pub fn get_uuid() -> Vec<u8> { |
| 296 | #[cfg(not(any(target_os = "android", target_os = "ios")))] |
nothing calls this directly
no test coverage detected