MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / getOSType

Function getOSType

src/platform/common/utils/platform.ts:36–36  ·  view source on GitHub ↗
(platform: string = process.platform)

Source from the content-addressed store, hash-verified

34// Delegation wrappers that call through platformUtils at runtime
35// This allows test stubs to take effect
36export const getOSType = (platform: string = process.platform): OSType => platformUtils.getOSType(platform);
37export const untildify = (path: string, home: string): string => platformUtils.untildify(path, home);

Callers 15

areInterpreterPathsSameFunction · 0.90
pythonEnvToJupyterEnvFunction · 0.90
tryGetRealPathFunction · 0.90
getUserHomeDirFunction · 0.90
normCasePathFunction · 0.90
getFilePathFunction · 0.90
getDisplayPathImplFunction · 0.90
PlatformServiceClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected