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

Function move

src/fileSystem/internalFs.js:197–199  ·  view source on GitHub ↗

* Move a file or directory to another location * @param {string} src * @param {string} dest * @returns {Promise } The new location of the file or directory

(src, dest)

Source from the content-addressed store, hash-verified

195 * @returns {Promise<string>} The new location of the file or directory
196 */
197 move(src, dest) {
198 return moveOrCopy("moveTo", src, dest);
199 },
200
201 /**
202 * Move or copy a file or directory to another location

Callers

nothing calls this directly

Calls 1

moveOrCopyFunction · 0.85

Tested by

no test coverage detected