MCPcopy
hub / github.com/PowerShell/vscode-powershell / getNewSessionFilePath

Method getNewSessionFilePath

src/session.ts:429–435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

427 }
428
429 private getNewSessionFilePath(): vscode.Uri {
430 const uniqueId: number = Math.floor(100000 + Math.random() * 900000);
431 return vscode.Uri.joinPath(
432 this.sessionsFolder,
433 `PSES-VSCode-${process.env.VSCODE_PID}-${uniqueId}.json`,
434 );
435 }
436
437 public setLanguageClientConsumers(
438 languageClientConsumers: LanguageClientConsumer[],

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected