• oldPath {string|Buffer|URL}
    • newPath {string|Buffer|URL}
    • 返回: {Promise}

    oldPath 重命名为 newPath,然后在成功时解决 Promise 且不带参数。