Synchronously moves a file or directory from source to destination path

Example

FileSystem = require("FuseJS/FileSystem");

FileSystem.writeTextToFileSync("to-be-moved.txt", "hello world");
FileSystem.moveSync("to-be-moved.txt", "destination-reached.txt");

Location

Namespace
Fuse.FileSystem
Package
Fuse.FileSystem 2.9.1