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

Method writeFile

nodejs/src/sessionFsProvider.ts:68–68  ·  view source on GitHub ↗

Writes content to a file, creating parent directories if needed.

(path: string, content: string, mode?: number)

Source from the content-addressed store, hash-verified

66
67 /** Writes content to a file, creating parent directories if needed. */
68 writeFile(path: string, content: string, mode?: number): Promise<void>;
69
70 /** Appends content to a file, creating parent directories if needed. */
71 appendFile(path: string, content: string, mode?: number): Promise<void>;

Callers 1

createSessionFsAdapterFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected