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

Function createDirectory

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

Source from the content-addressed store, hash-verified

192 },
193
194 async createDirectory(params) {
195 const record = asRecord(params)
196 const targetPath = stringValue(record, "path")
197 await fs.mkdir(targetPath, { recursive: boolValue(record.recursive, true) })
198 return { ok: true, path: targetPath }
199 },
200
201 async removePath(params) {
202 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