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

Function readFile

nodejs/test/session_fs_adapter.test.ts:16–18  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

14
15 const provider: SessionFsProvider = {
16 async readFile(path) {
17 return (await memoryProvider.readFile(sp(path), "utf8")) as string;
18 },
19 async writeFile(path, content) {
20 await memoryProvider.writeFile(sp(path), content);
21 },

Callers 5

readYamlOutputFunction · 0.50
loadStoredDataMethod · 0.50
writeFileIfDifferentFunction · 0.50

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…