oldPath <string> | <Buffer> | <URL>
oldPath
newPath <string> | <Buffer> | <URL>
newPath
返回:<Promise> 成功时将使用 undefined 履行。
undefined
¥Returns: <Promise> Fulfills with undefined upon success.
将 oldPath 重命名为 newPath。
¥Renames oldPath to newPath.