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

Function unlink

packages/shell/src/git/fs-adapter.ts:121–127  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

119 },
120
121 async unlink(path: string): Promise<void> {
122 try {
123 await fs.rm(path);
124 } catch (err) {
125 throw fsError(path, err);
126 }
127 },
128
129 async readdir(path: string): Promise<string[]> {
130 return fs.readdir(path);

Callers

nothing calls this directly

Calls 2

fsErrorFunction · 0.85
rmMethod · 0.65

Tested by

no test coverage detected