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

Method appendFile

examples/assistant/src/server.ts:635–641  ·  view source on GitHub ↗
(
    path: string,
    content: string,
    mimeType?: Parameters<Workspace["appendFile"]>[2]
  )

Source from the content-addressed store, hash-verified

633 }
634
635 async appendFile(
636 path: string,
637 content: string,
638 mimeType?: Parameters<Workspace["appendFile"]>[2]
639 ) {
640 return (await this.parent()).appendFile(path, content, mimeType);
641 }
642
643 async exists(path: string) {
644 return (await this.parent()).exists(path);

Callers

nothing calls this directly

Calls 2

parentMethod · 0.95
appendFileMethod · 0.65

Tested by

no test coverage detected