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

Function createFile

src/fileSystem/sftp.js:632–634  ·  view source on GitHub ↗
(name, data)

Source from the content-addressed store, hash-verified

630 return sftp.writeFile(content, null);
631 },
632 createFile(name, data) {
633 return sftp.createFile(name, data);
634 },
635 createDirectory(name) {
636 return sftp.createDir(name);
637 },

Callers

nothing calls this directly

Calls 1

createFileMethod · 0.65

Tested by

no test coverage detected