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

Method removeTree

packages/shell/src/memory.ts:384–386  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

382 }
383
384 async removeTree(path: string): Promise<void> {
385 await this.fs.rm(path, { recursive: true, force: true });
386 }
387
388 async copyTree(src: string, dest: string): Promise<void> {
389 await this.fs.cp(src, dest, { recursive: true });

Callers

nothing calls this directly

Calls 1

rmMethod · 0.65

Tested by

no test coverage detected