MCPcopy Index your code
hub / github.com/github/copilot-sdk / readFile

Function readFile

nodejs/test/e2e/session_fs.e2e.test.ts:234–236  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

232 const provider = new MemoryProvider();
233 const userProvider: SessionFsProvider = {
234 async readFile(path: string): Promise<string> {
235 return (await provider.readFile(path, "utf8")) as string;
236 },
237 async writeFile(path: string, content: string): Promise<void> {
238 await provider.writeFile(path, content);
239 },

Callers 5

readTelemetryEntriesFunction · 0.70
hooks.e2e.test.tsFile · 0.70

Calls 2

spFunction · 0.70
readFileMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…