{"action":"created","comment":{"url":"https://api.github.com/repos/minio/minio/pulls/comments/67613443","id":67613443,"diff_hunk":"@@ -17,54 +17,47 @@\n package main\n \n import (\n+\t\"bytes\"\n \t\"encoding/hex\"\n \t\"errors\"\n+\t\"io\"\n \n \t\"github.com/klauspost/reedsolomon\"\n )\n \n-// erasureReadFile - read an entire erasure coded file at into a byte\n-// array. Erasure coded parts are often few mega bytes in size and it\n-// is convenient to return them as byte slice. This function also\n-// supports bit-rot detection by verifying checksum of individual","path":"erasure-readfile.go","position":15,"original_position":15,"commit_id":"d20c334a26a86a66e9e0157f5c4fe9e05cd9ecb9","original_commit_id":"d20c334a26a86a66e9e0157f5c4fe9e05cd9ecb9","user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"body":"Why this comment is removed? - does this function remove bit-rot detection? ","created_at":"2016-06-19T08:57:47Z","updated_at":"2016-06-19T08:57:47Z","html_url":"https://github.com/minio/minio/pull/1910#discussion_r67613443","pull_request_url":"https://api.github.com/repos/minio/minio/pulls/1910","_links":{"self":{"href":"https://api.github.com/repos/minio/minio/pulls/comments/67613443"},"html":{"href":"https://github.com/minio/minio/pull/1910#discussion_r67613443"},"pull_request":{"href":"https://api.github.com/repos/minio/minio/pulls/1910"}}},"pull_request":{"url":"https://api.github.com/repos/minio/minio/pulls/1910","id":74025265,"html_url":"https://github.com/minio/minio/pull/1910","diff_url":"https://github.com/minio/minio/pull/1910.diff","patch_url":"https://github.com/minio/minio/pull/1910.patch","issue_url":"https://api.github.com/repos/minio/minio/issues/1910","number":1910,"state":"open","locked":false,"title":"erasure-readfile: write to given Writer than returning buffer.","user":{"login":"balamurugana","id":629407,"avatar_url":"https://avatars.githubusercontent.com/u/629407?v=3","gravatar_id":"","url":"https://api.github.com/users/balamurugana","html_url":"https://github.com/balamurugana","followers_url":"https://api.github.com/users/balamurugana/followers","following_url":"https://api.github.com/users/balamurugana/following{/other_user}","gists_url":"https://api.github.com/users/balamurugana/gists{/gist_id}","starred_url":"https://api.github.com/users/balamurugana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balamurugana/subscriptions","organizations_url":"https://api.github.com/users/balamurugana/orgs","repos_url":"https://api.github.com/users/balamurugana/repos","events_url":"https://api.github.com/users/balamurugana/events{/privacy}","received_events_url":"https://api.github.com/users/balamurugana/received_events","type":"User","site_admin":false},"body":"Fixes #1889","created_at":"2016-06-16T05:47:43Z","updated_at":"2016-06-19T08:57:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d518456615febee2602cb3489df6ce74b00b448c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/minio/minio/pulls/1910/commits","review_comments_url":"https://api.github.com/repos/minio/minio/pulls/1910/comments","review_comment_url":"https://api.github.com/repos/minio/minio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minio/minio/issues/1910/comments","statuses_url":"https://api.github.com/repos/minio/minio/statuses/d20c334a26a86a66e9e0157f5c4fe9e05cd9ecb9","head":{"label":"balamurugana:devel","ref":"devel","sha":"d20c334a26a86a66e9e0157f5c4fe9e05cd9ecb9","user":{"login":"balamurugana","id":629407,"avatar_url":"https://avatars.githubusercontent.com/u/629407?v=3","gravatar_id":"","url":"https://api.github.com/users/balamurugana","html_url":"https://github.com/balamurugana","followers_url":"https://api.github.com/users/balamurugana/followers","following_url":"https://api.github.com/users/balamurugana/following{/other_user}","gists_url":"https://api.github.com/users/balamurugana/gists{/gist_id}","starred_url":"https://api.github.com/users/balamurugana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balamurugana/subscriptions","organizations_url":"https://api.github.com/users/balamurugana/orgs","repos_url":"https://api.github.com/users/balamurugana/repos","events_url":"https://api.github.com/users/balamurugana/events{/privacy}","received_events_url":"https://api.github.com/users/balamurugana/received_events","type":"User","site_admin":false},"repo":{"id":47154966,"name":"minio","full_name":"balamurugana/minio","owner":{"login":"balamurugana","id":629407,"avatar_url":"https://avatars.githubusercontent.com/u/629407?v=3","gravatar_id":"","url":"https://api.github.com/users/balamurugana","html_url":"https://github.com/balamurugana","followers_url":"https://api.github.com/users/balamurugana/followers","following_url":"https://api.github.com/users/balamurugana/following{/other_user}","gists_url":"https://api.github.com/users/balamurugana/gists{/gist_id}","starred_url":"https://api.github.com/users/balamurugana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balamurugana/subscriptions","organizations_url":"https://api.github.com/users/balamurugana/orgs","repos_url":"https://api.github.com/users/balamurugana/repos","events_url":"https://api.github.com/users/balamurugana/events{/privacy}","received_events_url":"https://api.github.com/users/balamurugana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/balamurugana/minio","description":"Cloud Storage Server for Micro Services.","fork":true,"url":"https://api.github.com/repos/balamurugana/minio","forks_url":"https://api.github.com/repos/balamurugana/minio/forks","keys_url":"https://api.github.com/repos/balamurugana/minio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balamurugana/minio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balamurugana/minio/teams","hooks_url":"https://api.github.com/repos/balamurugana/minio/hooks","issue_events_url":"https://api.github.com/repos/balamurugana/minio/issues/events{/number}","events_url":"https://api.github.com/repos/balamurugana/minio/events","assignees_url":"https://api.github.com/repos/balamurugana/minio/assignees{/user}","branches_url":"https://api.github.com/repos/balamurugana/minio/branches{/branch}","tags_url":"https://api.github.com/repos/balamurugana/minio/tags","blobs_url":"https://api.github.com/repos/balamurugana/minio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balamurugana/minio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balamurugana/minio/git/refs{/sha}","trees_url":"https://api.github.com/repos/balamurugana/minio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balamurugana/minio/statuses/{sha}","languages_url":"https://api.github.com/repos/balamurugana/minio/languages","stargazers_url":"https://api.github.com/repos/balamurugana/minio/stargazers","contributors_url":"https://api.github.com/repos/balamurugana/minio/contributors","subscribers_url":"https://api.github.com/repos/balamurugana/minio/subscribers","subscription_url":"https://api.github.com/repos/balamurugana/minio/subscription","commits_url":"https://api.github.com/repos/balamurugana/minio/commits{/sha}","git_commits_url":"https://api.github.com/repos/balamurugana/minio/git/commits{/sha}","comments_url":"https://api.github.com/repos/balamurugana/minio/comments{/number}","issue_comment_url":"https://api.github.com/repos/balamurugana/minio/issues/comments{/number}","contents_url":"https://api.github.com/repos/balamurugana/minio/contents/{+path}","compare_url":"https://api.github.com/repos/balamurugana/minio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balamurugana/minio/merges","archive_url":"https://api.github.com/repos/balamurugana/minio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balamurugana/minio/downloads","issues_url":"https://api.github.com/repos/balamurugana/minio/issues{/number}","pulls_url":"https://api.github.com/repos/balamurugana/minio/pulls{/number}","milestones_url":"https://api.github.com/repos/balamurugana/minio/milestones{/number}","notifications_url":"https://api.github.com/repos/balamurugana/minio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balamurugana/minio/labels{/name}","releases_url":"https://api.github.com/repos/balamurugana/minio/releases{/id}","deployments_url":"https://api.github.com/repos/balamurugana/minio/deployments","created_at":"2015-12-01T00:34:25Z","updated_at":"2016-01-27T01:05:16Z","pushed_at":"2016-06-19T01:13:59Z","git_url":"git://github.com/balamurugana/minio.git","ssh_url":"git@github.com:balamurugana/minio.git","clone_url":"https://github.com/balamurugana/minio.git","svn_url":"https://github.com/balamurugana/minio","homepage":"","size":13678,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"minio:master","ref":"master","sha":"8c0942bf0d40025298c6fb0b9f99711e401be798","user":{"login":"minio","id":695951,"avatar_url":"https://avatars.githubusercontent.com/u/695951?v=3","gravatar_id":"","url":"https://api.github.com/users/minio","html_url":"https://github.com/minio","followers_url":"https://api.github.com/users/minio/followers","following_url":"https://api.github.com/users/minio/following{/other_user}","gists_url":"https://api.github.com/users/minio/gists{/gist_id}","starred_url":"https://api.github.com/users/minio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minio/subscriptions","organizations_url":"https://api.github.com/users/minio/orgs","repos_url":"https://api.github.com/users/minio/repos","events_url":"https://api.github.com/users/minio/events{/privacy}","received_events_url":"https://api.github.com/users/minio/received_events","type":"Organization","site_admin":false},"repo":{"id":29261473,"name":"minio","full_name":"minio/minio","owner":{"login":"minio","id":695951,"avatar_url":"https://avatars.githubusercontent.com/u/695951?v=3","gravatar_id":"","url":"https://api.github.com/users/minio","html_url":"https://github.com/minio","followers_url":"https://api.github.com/users/minio/followers","following_url":"https://api.github.com/users/minio/following{/other_user}","gists_url":"https://api.github.com/users/minio/gists{/gist_id}","starred_url":"https://api.github.com/users/minio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minio/subscriptions","organizations_url":"https://api.github.com/users/minio/orgs","repos_url":"https://api.github.com/users/minio/repos","events_url":"https://api.github.com/users/minio/events{/privacy}","received_events_url":"https://api.github.com/users/minio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/minio/minio","description":"Minio is an object storage server compatible with Amazon S3 and licensed under Apache 2.0 License","fork":false,"url":"https://api.github.com/repos/minio/minio","forks_url":"https://api.github.com/repos/minio/minio/forks","keys_url":"https://api.github.com/repos/minio/minio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minio/minio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minio/minio/teams","hooks_url":"https://api.github.com/repos/minio/minio/hooks","issue_events_url":"https://api.github.com/repos/minio/minio/issues/events{/number}","events_url":"https://api.github.com/repos/minio/minio/events","assignees_url":"https://api.github.com/repos/minio/minio/assignees{/user}","branches_url":"https://api.github.com/repos/minio/minio/branches{/branch}","tags_url":"https://api.github.com/repos/minio/minio/tags","blobs_url":"https://api.github.com/repos/minio/minio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minio/minio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minio/minio/git/refs{/sha}","trees_url":"https://api.github.com/repos/minio/minio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minio/minio/statuses/{sha}","languages_url":"https://api.github.com/repos/minio/minio/languages","stargazers_url":"https://api.github.com/repos/minio/minio/stargazers","contributors_url":"https://api.github.com/repos/minio/minio/contributors","subscribers_url":"https://api.github.com/repos/minio/minio/subscribers","subscription_url":"https://api.github.com/repos/minio/minio/subscription","commits_url":"https://api.github.com/repos/minio/minio/commits{/sha}","git_commits_url":"https://api.github.com/repos/minio/minio/git/commits{/sha}","comments_url":"https://api.github.com/repos/minio/minio/comments{/number}","issue_comment_url":"https://api.github.com/repos/minio/minio/issues/comments{/number}","contents_url":"https://api.github.com/repos/minio/minio/contents/{+path}","compare_url":"https://api.github.com/repos/minio/minio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minio/minio/merges","archive_url":"https://api.github.com/repos/minio/minio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minio/minio/downloads","issues_url":"https://api.github.com/repos/minio/minio/issues{/number}","pulls_url":"https://api.github.com/repos/minio/minio/pulls{/number}","milestones_url":"https://api.github.com/repos/minio/minio/milestones{/number}","notifications_url":"https://api.github.com/repos/minio/minio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minio/minio/labels{/name}","releases_url":"https://api.github.com/repos/minio/minio/releases{/id}","deployments_url":"https://api.github.com/repos/minio/minio/deployments","created_at":"2015-01-14T19:23:58Z","updated_at":"2016-06-19T06:27:39Z","pushed_at":"2016-06-19T08:46:18Z","git_url":"git://github.com/minio/minio.git","ssh_url":"git@github.com:minio/minio.git","clone_url":"https://github.com/minio/minio.git","svn_url":"https://github.com/minio/minio","homepage":"https://minio.io/downloads/","size":14762,"stargazers_count":1381,"watchers_count":1381,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":56,"forks":127,"open_issues":56,"watchers":1381,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minio/minio/pulls/1910"},"html":{"href":"https://github.com/minio/minio/pull/1910"},"issue":{"href":"https://api.github.com/repos/minio/minio/issues/1910"},"comments":{"href":"https://api.github.com/repos/minio/minio/issues/1910/comments"},"review_comments":{"href":"https://api.github.com/repos/minio/minio/pulls/1910/comments"},"review_comment":{"href":"https://api.github.com/repos/minio/minio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minio/minio/pulls/1910/commits"},"statuses":{"href":"https://api.github.com/repos/minio/minio/statuses/d20c334a26a86a66e9e0157f5c4fe9e05cd9ecb9"}}}}
{"actor":{"display_login":"harshavardhana"}}