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

Function renameTo

src/fileSystem/ftp.js:418–420  ·  view source on GitHub ↗
(newname)

Source from the content-addressed store, hash-verified

416 return ftp.moveTo(dest);
417 },
418 renameTo(newname) {
419 return ftp.rename(newname);
420 },
421 exists() {
422 return ftp.exists();
423 },

Callers

nothing calls this directly

Calls 1

renameMethod · 0.65

Tested by

no test coverage detected