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

Function createFile

src/fileSystem/ftp.js:401–403  ·  view source on GitHub ↗
(name, data = "")

Source from the content-addressed store, hash-verified

399 return ftp.writeFile(content);
400 },
401 createFile(name, data = "") {
402 return ftp.createFile(name, data);
403 },
404 createDirectory(name) {
405 return ftp.createDir(name);
406 },

Callers

nothing calls this directly

Calls 1

createFileMethod · 0.65

Tested by

no test coverage detected