MCPcopy
hub / github.com/microsoft/vscode-js-debug / readFile

Method readFile

src/typings/vscode.d.ts:9407–9407  ·  view source on GitHub ↗

* Read the entire contents of a file. * * @param uri The uri of the file. * @returns An array of bytes or a thenable that resolves to such.

(uri: Uri)

Source from the content-addressed store, hash-verified

9405 * @returns An array of bytes or a thenable that resolves to such.
9406 */
9407 readFile(uri: Uri): Thenable<Uint8Array>;
9408
9409 /**
9410 * Write data to a file, replacing its entire contents.

Callers 3

assertValidOutputFileFunction · 0.65
PackageJsonProviderClass · 0.65
getProcessTelemetryMethod · 0.65

Calls

no outgoing calls

Tested by 1

assertValidOutputFileFunction · 0.52