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

Method exists

examples/assistant/src/server.ts:643–645  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

641 }
642
643 async exists(path: string) {
644 return (await this.parent()).exists(path);
645 }
646
647 async readDir(path?: string, opts?: Parameters<Workspace["readDir"]>[1]) {
648 return (await this.parent()).readDir(path ?? "/", opts);

Callers

nothing calls this directly

Calls 2

parentMethod · 0.95
existsMethod · 0.65

Tested by

no test coverage detected