MCPcopy Create free account
hub / github.com/Wscats/vscode-explore / PlatformToString

Function PlatformToString

contextKeyExpr/src/platform.ts:89–96  ·  view source on GitHub ↗
(platform: Platform)

Source from the content-addressed store, hash-verified

87 Windows
88}
89export 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
98let _platform: Platform = Platform.Web;
99if (_isMacintosh) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected