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

Function renameTo

src/fileSystem/sftp.js:649–651  ·  view source on GitHub ↗
(newname)

Source from the content-addressed store, hash-verified

647 return sftp.moveTo(dest);
648 },
649 renameTo(newname) {
650 return sftp.rename(newname);
651 },
652 exists() {
653 return sftp.exists();
654 },

Callers

nothing calls this directly

Calls 1

renameMethod · 0.65

Tested by

no test coverage detected