MCPcopy
hub / github.com/microsoft/vscode / getArgvConfigPath

Function getArgvConfigPath

src/main.ts:443–455  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

441}
442
443function getArgvConfigPath(): string {
444 const vscodePortable = process.env['VSCODE_PORTABLE'];
445 if (vscodePortable) {
446 return path.join(vscodePortable, 'argv.json');
447 }
448
449 let dataFolderName = product.dataFolderName;
450 if (process.env['VSCODE_DEV']) {
451 dataFolderName = `${dataFolderName}-dev`;
452 }
453
454 return path.join(os.homedir(), dataFolderName!, 'argv.json');
455}
456
457function configureCrashReporter(): void {
458 let crashReporterDirectory = args['crash-reporter-directory'];

Callers 1

readArgvConfigSyncFunction · 0.85

Calls 1

joinMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…