(platform: Platform)
| 87 | Windows |
| 88 | } |
| 89 | export function PlatformToString(platform: Platform) { |
| 90 | switch (platform) { |
| 91 | case Platform.Web: return 'Web'; |
| 92 | case Platform.Mac: return 'Mac'; |
| 93 | case Platform.Linux: return 'Linux'; |
| 94 | case Platform.Windows: return 'Windows'; |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | let _platform: Platform = Platform.Web; |
| 99 | if (_isMacintosh) { |
nothing calls this directly
no outgoing calls
no test coverage detected