MCPcopy Index your code
hub / github.com/PowerShell/vscode-powershell / readSessionFile

Method readSessionFile

src/process.ts:261–267  ·  view source on GitHub ↗
(
        sessionFilePath: vscode.Uri,
    )

Source from the content-addressed store, hash-verified

259 }
260
261 private async readSessionFile(
262 sessionFilePath: vscode.Uri,
263 ): Promise<IEditorServicesSessionDetails> {
264 const fileContents =
265 await vscode.workspace.fs.readFile(sessionFilePath);
266 return JSON.parse(fileContents.toString());
267 }
268
269 private async deleteSessionFile(
270 sessionFilePath: vscode.Uri,

Callers 1

waitForSessionFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected