MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / setPlatform

Function setPlatform

frontend/util/platformutil.ts:10–12  ·  view source on GitHub ↗
(platform: NodeJS.Platform)

Source from the content-addressed store, hash-verified

8export let MacOSVersion: string = null;
9
10export function setPlatform(platform: NodeJS.Platform) {
11 PLATFORM = platform;
12}
13
14export function setMacOSVersion(version: string) {
15 MacOSVersion = version;

Callers 5

initGlobalFunction · 0.90
TabBarPreviewInnerFunction · 0.50
VTabBarPreviewInnerFunction · 0.50
PlatformProviderInternalFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected