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

Function writeFile

nodejs/test/e2e/session_fs_sqlite.e2e.test.ts:160–162  ·  view source on GitHub ↗
(path: string, content: string)

Source from the content-addressed store, hash-verified

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 },
163 async appendFile(path: string, content: string): Promise<void> {
164 await provider.appendFile(sp(path), content);
165 },

Callers

nothing calls this directly

Calls 2

spFunction · 0.70
writeFileMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…