Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ moveTo
Method
moveTo
src/fileSystem/sftp.js:300–302 ·
view source on GitHub ↗
(dest)
Source
from the content-addressed store, hash-verified
298
}
299
300
moveTo(dest) {
301
return
this.rename(dest, true);
302
}
303
304
/**
305
* Renames file and directory, it can also be use to move directory or file
Callers
1
moveTo
Function · 0.45
Calls
1
rename
Method · 0.95
Tested by
no test coverage detected