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

Method rm

packages/shell/src/fs/interface.ts:66–66  ·  view source on GitHub ↗
(path: string, options?: RmOptions)

Source from the content-addressed store, hash-verified

64 readdir(path: string): Promise<string[]>;
65 readdirWithFileTypes(path: string): Promise<FileSystemDirent[]>;
66 rm(path: string, options?: RmOptions): Promise<void>;
67 cp(src: string, dest: string, options?: CpOptions): Promise<void>;
68 mv(src: string, dest: string): Promise<void>;
69 symlink(target: string, linkPath: string): Promise<void>;

Callers 7

unlinkFunction · 0.65
rmdirFunction · 0.65
rmMethod · 0.65
git.test.tsFile · 0.65
rmMethod · 0.65
rmCallMethod · 0.65
rmWithEventsMethod · 0.65

Implementers 2

WorkspaceFileSystempackages/shell/src/workspace.ts
InMemoryFspackages/shell/src/fs/in-memory-fs.ts

Calls

no outgoing calls

Tested by 1

rmMethod · 0.52