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

Function renameTo

src/fileSystem/externalFs.js:233–235  ·  view source on GitHub ↗
(newname)

Source from the content-addressed store, hash-verified

231 return externalFs.move(url, dest);
232 },
233 renameTo(newname) {
234 return externalFs.renameFile(url, newname);
235 },
236 async exists() {
237 try {
238 const stats = await externalFs.stats(url);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected