fs.renameSync(oldPath, newPath)


    将文件从 oldPath 重命名为 newPath。 返回 undefined

    Renames the file from oldPath to newPath. Returns undefined.

    See the POSIX rename(2) documentation for more details.