MCPcopy Create free account
hub / github.com/altic-dev/Pilot / readFileCallback

Function readFileCallback

src/tools/experiment-code-update.ts:147–149  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

145
146 // Create file operation callbacks for text editor tool
147 const readFileCallback = async (path: string) => {
148 return await docker.readFile(sessionId, path);
149 };
150
151 const writeFileCallback = async (path: string, content: string) => {
152 await docker.writeFile(sessionId, path, content);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected