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

Function copyPath

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

Source from the content-addressed store, hash-verified

206 },
207
208 async copyPath(params) {
209 const record = asRecord(params)
210 const from = stringValue(record, "from")
211 const to = stringValue(record, "to")
212 await fs.cp(from, to, { recursive: boolValue(record.recursive), force: boolValue(record.force, true) })
213 return { ok: true, from, to }
214 },
215
216 async fuzzySearch(params) {
217 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