{"action":"created","comment":{"url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/comments/47428327","id":47428327,"diff_hunk":"@@ -799,24 +843,31 @@ public CopyObjectResult CopyBigObject(CopyObjectRequest copyObjectRequest, long?\n                 return CopyObject(copyObjectRequest);\r\n             }\r\n \r\n-            // 初始化分片拷贝\r\n-            var initRequest = new InitiateMultipartUploadRequest(copyObjectRequest.DestinationBucketName,\r\n-                                                                 copyObjectRequest.DestinationKey);\r\n-            var initResult = InitiateMultipartUpload(initRequest);\r\n-            var uploadId = initResult.UploadId;\r\n+            var resumableCopyContext = GenerateResumableCopyContext(copyObjectRequest, objectMeta, checkpointDir, actualPartSize);\r","path":"sdk/OssClient.cs","position":179,"original_position":179,"commit_id":"6bbb84cfd71877a6df4405d592636e9eb9a001eb","original_commit_id":"6bbb84cfd71877a6df4405d592636e9eb9a001eb","user":{"login":"qiyuewuyi","id":16025464,"avatar_url":"https://avatars.githubusercontent.com/u/16025464?v=3","gravatar_id":"","url":"https://api.github.com/users/qiyuewuyi","html_url":"https://github.com/qiyuewuyi","followers_url":"https://api.github.com/users/qiyuewuyi/followers","following_url":"https://api.github.com/users/qiyuewuyi/following{/other_user}","gists_url":"https://api.github.com/users/qiyuewuyi/gists{/gist_id}","starred_url":"https://api.github.com/users/qiyuewuyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiyuewuyi/subscriptions","organizations_url":"https://api.github.com/users/qiyuewuyi/orgs","repos_url":"https://api.github.com/users/qiyuewuyi/repos","events_url":"https://api.github.com/users/qiyuewuyi/events{/privacy}","received_events_url":"https://api.github.com/users/qiyuewuyi/received_events","type":"User","site_admin":false},"body":"这里面有两个作用，第一个是从文件load，如果文件中没有，则重新生成。叫LoadXXX是稍微好点。我改一下。","created_at":"2015-12-12T06:42:53Z","updated_at":"2015-12-12T06:42:53Z","html_url":"https://github.com/aliyun/aliyun-oss-csharp-sdk/pull/1#discussion_r47428327","pull_request_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/comments/47428327"},"html":{"href":"https://github.com/aliyun/aliyun-oss-csharp-sdk/pull/1#discussion_r47428327"},"pull_request":{"href":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/1","id":53468339,"html_url":"https://github.com/aliyun/aliyun-oss-csharp-sdk/pull/1","diff_url":"https://github.com/aliyun/aliyun-oss-csharp-sdk/pull/1.diff","patch_url":"https://github.com/aliyun/aliyun-oss-csharp-sdk/pull/1.patch","issue_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/issues/1","number":1,"state":"open","locked":false,"title":"C# SDK 2.2.0 ","user":{"login":"qiyuewuyi","id":16025464,"avatar_url":"https://avatars.githubusercontent.com/u/16025464?v=3","gravatar_id":"","url":"https://api.github.com/users/qiyuewuyi","html_url":"https://github.com/qiyuewuyi","followers_url":"https://api.github.com/users/qiyuewuyi/followers","following_url":"https://api.github.com/users/qiyuewuyi/following{/other_user}","gists_url":"https://api.github.com/users/qiyuewuyi/gists{/gist_id}","starred_url":"https://api.github.com/users/qiyuewuyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiyuewuyi/subscriptions","organizations_url":"https://api.github.com/users/qiyuewuyi/orgs","repos_url":"https://api.github.com/users/qiyuewuyi/repos","events_url":"https://api.github.com/users/qiyuewuyi/events{/privacy}","received_events_url":"https://api.github.com/users/qiyuewuyi/received_events","type":"User","site_admin":false},"body":"- 支持Mono 3.12.0及其以上版本\r\n- 新增追加文件接口：AppendObject\r\n- 新增断点续传上传接口：ResumablePutObject\r\n- 新增断点续传拷贝接口：ResumableCopyObject\r\n- 新增部分示例程序","created_at":"2015-12-12T04:38:53Z","updated_at":"2015-12-12T06:42:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d754fa05e20618132f51e768e506c255464ad199","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/1/commits","review_comments_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/1/comments","review_comment_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/issues/1/comments","statuses_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/statuses/6bbb84cfd71877a6df4405d592636e9eb9a001eb","head":{"label":"qiyuewuyi:master","ref":"master","sha":"6bbb84cfd71877a6df4405d592636e9eb9a001eb","user":{"login":"qiyuewuyi","id":16025464,"avatar_url":"https://avatars.githubusercontent.com/u/16025464?v=3","gravatar_id":"","url":"https://api.github.com/users/qiyuewuyi","html_url":"https://github.com/qiyuewuyi","followers_url":"https://api.github.com/users/qiyuewuyi/followers","following_url":"https://api.github.com/users/qiyuewuyi/following{/other_user}","gists_url":"https://api.github.com/users/qiyuewuyi/gists{/gist_id}","starred_url":"https://api.github.com/users/qiyuewuyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiyuewuyi/subscriptions","organizations_url":"https://api.github.com/users/qiyuewuyi/orgs","repos_url":"https://api.github.com/users/qiyuewuyi/repos","events_url":"https://api.github.com/users/qiyuewuyi/events{/privacy}","received_events_url":"https://api.github.com/users/qiyuewuyi/received_events","type":"User","site_admin":false},"repo":{"id":47187942,"name":"aliyun-oss-csharp-sdk","full_name":"qiyuewuyi/aliyun-oss-csharp-sdk","owner":{"login":"qiyuewuyi","id":16025464,"avatar_url":"https://avatars.githubusercontent.com/u/16025464?v=3","gravatar_id":"","url":"https://api.github.com/users/qiyuewuyi","html_url":"https://github.com/qiyuewuyi","followers_url":"https://api.github.com/users/qiyuewuyi/followers","following_url":"https://api.github.com/users/qiyuewuyi/following{/other_user}","gists_url":"https://api.github.com/users/qiyuewuyi/gists{/gist_id}","starred_url":"https://api.github.com/users/qiyuewuyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiyuewuyi/subscriptions","organizations_url":"https://api.github.com/users/qiyuewuyi/orgs","repos_url":"https://api.github.com/users/qiyuewuyi/repos","events_url":"https://api.github.com/users/qiyuewuyi/events{/privacy}","received_events_url":"https://api.github.com/users/qiyuewuyi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qiyuewuyi/aliyun-oss-csharp-sdk","description":"Aliyun OSS SDK for C#","fork":true,"url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk","forks_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/forks","keys_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/teams","hooks_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/hooks","issue_events_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/events","assignees_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/tags","blobs_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/languages","stargazers_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/stargazers","contributors_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/contributors","subscribers_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/subscribers","subscription_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/subscription","commits_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/merges","archive_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/downloads","issues_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/labels{/name}","releases_url":"https://api.github.com/repos/qiyuewuyi/aliyun-oss-csharp-sdk/releases{/id}","created_at":"2015-12-01T12:27:35Z","updated_at":"2015-12-01T12:27:36Z","pushed_at":"2015-12-12T04:09:03Z","git_url":"git://github.com/qiyuewuyi/aliyun-oss-csharp-sdk.git","ssh_url":"git@github.com:qiyuewuyi/aliyun-oss-csharp-sdk.git","clone_url":"https://github.com/qiyuewuyi/aliyun-oss-csharp-sdk.git","svn_url":"https://github.com/qiyuewuyi/aliyun-oss-csharp-sdk","homepage":"","size":292,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aliyun:master","ref":"master","sha":"7a432812463014ad71f3df88e19ff1fa08ee673e","user":{"login":"aliyun","id":941070,"avatar_url":"https://avatars.githubusercontent.com/u/941070?v=3","gravatar_id":"","url":"https://api.github.com/users/aliyun","html_url":"https://github.com/aliyun","followers_url":"https://api.github.com/users/aliyun/followers","following_url":"https://api.github.com/users/aliyun/following{/other_user}","gists_url":"https://api.github.com/users/aliyun/gists{/gist_id}","starred_url":"https://api.github.com/users/aliyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliyun/subscriptions","organizations_url":"https://api.github.com/users/aliyun/orgs","repos_url":"https://api.github.com/users/aliyun/repos","events_url":"https://api.github.com/users/aliyun/events{/privacy}","received_events_url":"https://api.github.com/users/aliyun/received_events","type":"Organization","site_admin":false},"repo":{"id":46970240,"name":"aliyun-oss-csharp-sdk","full_name":"aliyun/aliyun-oss-csharp-sdk","owner":{"login":"aliyun","id":941070,"avatar_url":"https://avatars.githubusercontent.com/u/941070?v=3","gravatar_id":"","url":"https://api.github.com/users/aliyun","html_url":"https://github.com/aliyun","followers_url":"https://api.github.com/users/aliyun/followers","following_url":"https://api.github.com/users/aliyun/following{/other_user}","gists_url":"https://api.github.com/users/aliyun/gists{/gist_id}","starred_url":"https://api.github.com/users/aliyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliyun/subscriptions","organizations_url":"https://api.github.com/users/aliyun/orgs","repos_url":"https://api.github.com/users/aliyun/repos","events_url":"https://api.github.com/users/aliyun/events{/privacy}","received_events_url":"https://api.github.com/users/aliyun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aliyun/aliyun-oss-csharp-sdk","description":"Aliyun OSS SDK for C#","fork":false,"url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk","forks_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/forks","keys_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/teams","hooks_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/hooks","issue_events_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/events","assignees_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/tags","blobs_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/languages","stargazers_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/stargazers","contributors_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/contributors","subscribers_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/subscribers","subscription_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/subscription","commits_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/merges","archive_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/downloads","issues_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/labels{/name}","releases_url":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/releases{/id}","created_at":"2015-11-27T09:05:31Z","updated_at":"2015-12-09T07:29:53Z","pushed_at":"2015-12-12T04:38:53Z","git_url":"git://github.com/aliyun/aliyun-oss-csharp-sdk.git","ssh_url":"git@github.com:aliyun/aliyun-oss-csharp-sdk.git","clone_url":"https://github.com/aliyun/aliyun-oss-csharp-sdk.git","svn_url":"https://github.com/aliyun/aliyun-oss-csharp-sdk","homepage":"","size":237,"stargazers_count":4,"watchers_count":4,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/1"},"html":{"href":"https://github.com/aliyun/aliyun-oss-csharp-sdk/pull/1"},"issue":{"href":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/issues/1"},"comments":{"href":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/aliyun/aliyun-oss-csharp-sdk/statuses/6bbb84cfd71877a6df4405d592636e9eb9a001eb"}}}}