MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / createFile

Function createFile

src/fileSystem/internalFs.js:422–424  ·  view source on GitHub ↗
(name, data)

Source from the content-addressed store, hash-verified

420 return internalFs.writeFile(url, content, false, false);
421 },
422 createFile(name, data) {
423 return internalFs.writeFile(Url.join(url, name), data || "", true, true);
424 },
425 createDirectory(name) {
426 return internalFs.createDir(url, name);
427 },

Callers

nothing calls this directly

Calls 1

writeFileMethod · 0.45

Tested by

no test coverage detected