Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/agents
/ deleteFile
Function
deleteFile
packages/shell/src/tests/workspace.test.ts:233–235 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
231
throw
new
Error(
"not a symlink"
);
232
},
233
async
deleteFile(path: string) {
234
return
files.delete(path);
235
},
236
async
rm(
237
path: string,
238
_options?: { recursive?: boolean; force?: boolean }
Callers
nothing calls this directly
Calls
1
delete
Method · 0.65
Tested by
no test coverage detected