MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / removePath

Function removePath

projects/runtime-node/src/localFiles.ts:201–206  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

199 },
200
201 async removePath(params) {
202 const record = asRecord(params)
203 const targetPath = stringValue(record, "path")
204 await fs.rm(targetPath, { recursive: boolValue(record.recursive), force: boolValue(record.force) })
205 return { ok: true, path: targetPath }
206 },
207
208 async copyPath(params) {
209 const record = asRecord(params)

Callers

nothing calls this directly

Calls 3

boolValueFunction · 0.85
asRecordFunction · 0.70
stringValueFunction · 0.70

Tested by

no test coverage detected