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

Method getR2

packages/shell/src/filesystem.ts:374–376  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

372 // ── R2 helpers ─────────────────────────────────────────────────
373
374 private getR2(): R2Bucket | null {
375 return this.r2;
376 }
377
378 private resolveR2Prefix(): string {
379 if (this.r2Prefix !== undefined) return this.r2Prefix;

Callers 9

readFileMethod · 0.95
readFileBytesMethod · 0.95
writeFileBytesMethod · 0.95
writeFileMethod · 0.95
readFileStreamMethod · 0.95
deleteFileMethod · 0.95
rmMethod · 0.95
mvMethod · 0.95
deleteDescendantsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected