MCPcopy
hub / github.com/jvilk/BrowserFS / rename

Method rename

src/core/file_system.ts:107–107  ·  view source on GitHub ↗

* **Core**: Asynchronous rename. No arguments other than a possible exception * are given to the completion callback.

(oldPath: string, newPath: string, cb: BFSOneArgCallback)

Source from the content-addressed store, hash-verified

105 * are given to the completion callback.
106 */
107 rename(oldPath: string, newPath: string, cb: BFSOneArgCallback): void;
108 /**
109 * **Core**: Synchronous rename.
110 */

Callers 13

nop.jsFile · 0.65
bad_lookup.jsFile · 0.65
readdir_empty.jsFile · 0.65
readdir.jsFile · 0.65
files.jsFile · 0.65
mounting.tsFile · 0.65
rename-test.tsFile · 0.65
renameMethod · 0.65
renameSyncMethod · 0.65
copyDirContentsMethod · 0.65
renameMethod · 0.65

Implementers 10

LockedFSsrc/generic/locked_fs.ts
MountableFileSystemsrc/backend/MountableFileSystem.ts
WorkerFSsrc/backend/WorkerFS.ts
IsoFSsrc/backend/IsoFS.ts
UnlockedOverlayFSsrc/backend/OverlayFS.ts
FolderAdaptersrc/backend/FolderAdapter.ts
ZipFSsrc/backend/ZipFS.ts
XmlHttpRequestsrc/backend/XmlHttpRequest.ts
AsyncMirrorsrc/backend/AsyncMirror.ts
DropboxFileSystemsrc/backend/Dropbox.ts

Calls

no outgoing calls

Tested by

no test coverage detected