MCPcopy Create free account
hub / github.com/cloudflare/agents / writeFile

Method writeFile

packages/shell/src/memory.ts:112–114  ·  view source on GitHub ↗
(path: string, content: string)

Source from the content-addressed store, hash-verified

110 }
111
112 async writeFile(path: string, content: string): Promise<void> {
113 await this.fs.writeFile(path, content);
114 }
115
116 async writeFileBytes(path: string, content: Uint8Array): Promise<void> {
117 await this.fs.writeFileBytes(path, content);

Callers 3

writeJsonMethod · 0.95
updateJsonMethod · 0.95
replaceInFileMethod · 0.95

Calls 1

writeFileMethod · 0.65

Tested by

no test coverage detected