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

Method delete

packages/worker-bundler/src/file-system.ts:20–20  ·  view source on GitHub ↗

* Deletes a file from the file system. * @param path The path to the file.

(path: string)

Source from the content-addressed store, hash-verified

18 * @param path The path to the file.
19 */
20 delete(path: string): void;
21
22 /**
23 * Returns the logical paths of all files in the filesystem, optionally

Callers 15

useAgentChatFunction · 0.65
onAgentMessageFunction · 0.65
constructorMethod · 0.65
resetTurnStateMethod · 0.65
_runExclusiveChatTurnMethod · 0.65
persistMessagesMethod · 0.65
finishMethod · 0.65
writeFileBytesMethod · 0.65
writeFileMethod · 0.65
deleteFileMethod · 0.65

Implementers 5

TypescriptFileSystempackages/worker-bundler/src/typescript
InMemoryFileSystempackages/worker-bundler/src/file-syste
OverlayFileSystempackages/worker-bundler/src/file-syste
DurableObjectRawFileSystempackages/worker-bundler/src/file-syste
DurableObjectKVFileSystempackages/worker-bundler/src/file-syste

Calls

no outgoing calls

Tested by 9

deleteFileFunction · 0.52
deleteFileFunction · 0.52
rmFunction · 0.52
mvFunction · 0.52
execFunction · 0.52
consumeStateFunction · 0.52
mockSqlExecFunction · 0.52
deleteStreamFunction · 0.52
mockModelContextFunction · 0.52