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

Function computePlatform

src/test/standardTest.node.ts:71–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 : 'insiders';
70
71function computePlatform() {
72 switch (process.platform) {
73 case 'darwin':
74 return arch() === 'arm64' ? 'darwin-arm64' : 'darwin';
75 case 'win32':
76 return process.arch === 'ia32' ? 'win32-archive' : 'win32-x64-archive';
77 default:
78 return 'linux-x64';
79 }
80}
81async function createTempDir() {
82 return new Promise<string>((resolve, reject) => {
83 tmp.dir((err, dir) => {

Callers 1

startFunction · 0.85

Calls 1

archFunction · 0.85

Tested by

no test coverage detected