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

Function renameFile

src/fileSystem/externalFs.js:80–84  ·  view source on GitHub ↗
(src, newname)

Source from the content-addressed store, hash-verified

78 },
79
80 async renameFile(src, newname) {
81 return new Promise((resolve, reject) => {
82 sdcard.rename(src, newname, resolve, reject);
83 });
84 },
85
86 getStorageAccessPermission(uuid, name) {
87 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

renameMethod · 0.65

Tested by

no test coverage detected