提交的内容

This commit is contained in:
2025-05-12 15:45:02 +08:00
parent 629c4750da
commit b48c692775
3043 changed files with 34732 additions and 60810 deletions

5
vendor/qcloud/cos-sdk-v5/src/Copy.php vendored Executable file → Normal file
View File

@ -18,6 +18,8 @@ class Copy {
private $size;
private $commandList = [];
private $requestList = [];
private $concurrency;
private $retry;
public function __construct($client, $source, $options = array()) {
$minPartSize = $options['PartSize'];
@ -108,7 +110,7 @@ class Copy {
$this->parts[$index] = $part;
} catch(\Exception $e) {
if ($i == $retry) {
throw($e);
throw $e;
}
}
}
@ -136,5 +138,4 @@ class Copy {
$result = $this->client->createMultipartUpload($this->options);
return $result['UploadId'];
}
}