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

Function readFile

nodejs/test/e2e/session_fs_sqlite.e2e.test.ts:157–159  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

155
156 return {
157 async readFile(path: string): Promise<string> {
158 return (await provider.readFile(sp(path), "utf8")) as string;
159 },
160 async writeFile(path: string, content: string): Promise<void> {
161 await provider.writeFile(sp(path), content);
162 },

Callers

nothing calls this directly

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…