src/Qiniu/QiniuAdapter.php
public function rename($path, $newpath)
    {
        return $this->getBucketManager()->rename($this->bucket, $path, $newpath) == null ? true : false;
    }
public function rename($path, $newpath)
    {
        return $this->getBucketManager()->rename($this->bucket, $path, $newpath) == null ? true : false;
    }
重命名文件

@param $oldname
@param $newname
@return boolean
@author yangyifan <yangyifanphp@gmail.com>