{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/carllerche/bytes/pulls/19","id":33111031,"html_url":"https://github.com/carllerche/bytes/pull/19","diff_url":"https://github.com/carllerche/bytes/pull/19.diff","patch_url":"https://github.com/carllerche/bytes/pull/19.patch","issue_url":"https://api.github.com/repos/carllerche/bytes/issues/19","number":19,"state":"closed","locked":false,"title":"add mark/reset feature to ByteBuf and RingBuf","user":{"login":"danburkert","id":160242,"avatar_url":"https://avatars.githubusercontent.com/u/160242?v=3","gravatar_id":"","url":"https://api.github.com/users/danburkert","html_url":"https://github.com/danburkert","followers_url":"https://api.github.com/users/danburkert/followers","following_url":"https://api.github.com/users/danburkert/following{/other_user}","gists_url":"https://api.github.com/users/danburkert/gists{/gist_id}","starred_url":"https://api.github.com/users/danburkert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danburkert/subscriptions","organizations_url":"https://api.github.com/users/danburkert/orgs","repos_url":"https://api.github.com/users/danburkert/repos","events_url":"https://api.github.com/users/danburkert/events{/privacy}","received_events_url":"https://api.github.com/users/danburkert/received_events","type":"User","site_admin":false},"body":"This implements the mark/reset functionality we discussed on irc a few days ago.  For now `reset` will panic if `mark` has not been previously called.","created_at":"2015-04-11T22:20:27Z","updated_at":"2015-04-11T23:59:10Z","closed_at":"2015-04-11T23:59:10Z","merged_at":"2015-04-11T23:59:10Z","merge_commit_sha":"059eaf0df1e537b23e0a286d4e0184f72c7cd371","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/carllerche/bytes/pulls/19/commits","review_comments_url":"https://api.github.com/repos/carllerche/bytes/pulls/19/comments","review_comment_url":"https://api.github.com/repos/carllerche/bytes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/carllerche/bytes/issues/19/comments","statuses_url":"https://api.github.com/repos/carllerche/bytes/statuses/4d645c7f532c82df040f96c1230fb0ef7625ac6a","head":{"label":"danburkert:mark-reset","ref":"mark-reset","sha":"4d645c7f532c82df040f96c1230fb0ef7625ac6a","user":{"login":"danburkert","id":160242,"avatar_url":"https://avatars.githubusercontent.com/u/160242?v=3","gravatar_id":"","url":"https://api.github.com/users/danburkert","html_url":"https://github.com/danburkert","followers_url":"https://api.github.com/users/danburkert/followers","following_url":"https://api.github.com/users/danburkert/following{/other_user}","gists_url":"https://api.github.com/users/danburkert/gists{/gist_id}","starred_url":"https://api.github.com/users/danburkert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danburkert/subscriptions","organizations_url":"https://api.github.com/users/danburkert/orgs","repos_url":"https://api.github.com/users/danburkert/repos","events_url":"https://api.github.com/users/danburkert/events{/privacy}","received_events_url":"https://api.github.com/users/danburkert/received_events","type":"User","site_admin":false},"repo":{"id":32884350,"name":"bytes","full_name":"danburkert/bytes","owner":{"login":"danburkert","id":160242,"avatar_url":"https://avatars.githubusercontent.com/u/160242?v=3","gravatar_id":"","url":"https://api.github.com/users/danburkert","html_url":"https://github.com/danburkert","followers_url":"https://api.github.com/users/danburkert/followers","following_url":"https://api.github.com/users/danburkert/following{/other_user}","gists_url":"https://api.github.com/users/danburkert/gists{/gist_id}","starred_url":"https://api.github.com/users/danburkert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danburkert/subscriptions","organizations_url":"https://api.github.com/users/danburkert/orgs","repos_url":"https://api.github.com/users/danburkert/repos","events_url":"https://api.github.com/users/danburkert/events{/privacy}","received_events_url":"https://api.github.com/users/danburkert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danburkert/bytes","description":"Utilities for working with bytes","fork":true,"url":"https://api.github.com/repos/danburkert/bytes","forks_url":"https://api.github.com/repos/danburkert/bytes/forks","keys_url":"https://api.github.com/repos/danburkert/bytes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danburkert/bytes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danburkert/bytes/teams","hooks_url":"https://api.github.com/repos/danburkert/bytes/hooks","issue_events_url":"https://api.github.com/repos/danburkert/bytes/issues/events{/number}","events_url":"https://api.github.com/repos/danburkert/bytes/events","assignees_url":"https://api.github.com/repos/danburkert/bytes/assignees{/user}","branches_url":"https://api.github.com/repos/danburkert/bytes/branches{/branch}","tags_url":"https://api.github.com/repos/danburkert/bytes/tags","blobs_url":"https://api.github.com/repos/danburkert/bytes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danburkert/bytes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danburkert/bytes/git/refs{/sha}","trees_url":"https://api.github.com/repos/danburkert/bytes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danburkert/bytes/statuses/{sha}","languages_url":"https://api.github.com/repos/danburkert/bytes/languages","stargazers_url":"https://api.github.com/repos/danburkert/bytes/stargazers","contributors_url":"https://api.github.com/repos/danburkert/bytes/contributors","subscribers_url":"https://api.github.com/repos/danburkert/bytes/subscribers","subscription_url":"https://api.github.com/repos/danburkert/bytes/subscription","commits_url":"https://api.github.com/repos/danburkert/bytes/commits{/sha}","git_commits_url":"https://api.github.com/repos/danburkert/bytes/git/commits{/sha}","comments_url":"https://api.github.com/repos/danburkert/bytes/comments{/number}","issue_comment_url":"https://api.github.com/repos/danburkert/bytes/issues/comments{/number}","contents_url":"https://api.github.com/repos/danburkert/bytes/contents/{+path}","compare_url":"https://api.github.com/repos/danburkert/bytes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danburkert/bytes/merges","archive_url":"https://api.github.com/repos/danburkert/bytes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danburkert/bytes/downloads","issues_url":"https://api.github.com/repos/danburkert/bytes/issues{/number}","pulls_url":"https://api.github.com/repos/danburkert/bytes/pulls{/number}","milestones_url":"https://api.github.com/repos/danburkert/bytes/milestones{/number}","notifications_url":"https://api.github.com/repos/danburkert/bytes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danburkert/bytes/labels{/name}","releases_url":"https://api.github.com/repos/danburkert/bytes/releases{/id}","created_at":"2015-03-25T18:51:46Z","updated_at":"2015-03-25T18:51:55Z","pushed_at":"2015-04-11T22:18:50Z","git_url":"git://github.com/danburkert/bytes.git","ssh_url":"git@github.com:danburkert/bytes.git","clone_url":"https://github.com/danburkert/bytes.git","svn_url":"https://github.com/danburkert/bytes","homepage":null,"size":1019,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"carllerche:master","ref":"master","sha":"40f1d1aa77f0fce11da943b67b408e29f05eb893","user":{"login":"carllerche","id":6180,"avatar_url":"https://avatars.githubusercontent.com/u/6180?v=3","gravatar_id":"","url":"https://api.github.com/users/carllerche","html_url":"https://github.com/carllerche","followers_url":"https://api.github.com/users/carllerche/followers","following_url":"https://api.github.com/users/carllerche/following{/other_user}","gists_url":"https://api.github.com/users/carllerche/gists{/gist_id}","starred_url":"https://api.github.com/users/carllerche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carllerche/subscriptions","organizations_url":"https://api.github.com/users/carllerche/orgs","repos_url":"https://api.github.com/users/carllerche/repos","events_url":"https://api.github.com/users/carllerche/events{/privacy}","received_events_url":"https://api.github.com/users/carllerche/received_events","type":"User","site_admin":false},"repo":{"id":30062547,"name":"bytes","full_name":"carllerche/bytes","owner":{"login":"carllerche","id":6180,"avatar_url":"https://avatars.githubusercontent.com/u/6180?v=3","gravatar_id":"","url":"https://api.github.com/users/carllerche","html_url":"https://github.com/carllerche","followers_url":"https://api.github.com/users/carllerche/followers","following_url":"https://api.github.com/users/carllerche/following{/other_user}","gists_url":"https://api.github.com/users/carllerche/gists{/gist_id}","starred_url":"https://api.github.com/users/carllerche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carllerche/subscriptions","organizations_url":"https://api.github.com/users/carllerche/orgs","repos_url":"https://api.github.com/users/carllerche/repos","events_url":"https://api.github.com/users/carllerche/events{/privacy}","received_events_url":"https://api.github.com/users/carllerche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carllerche/bytes","description":"Utilities for working with bytes","fork":false,"url":"https://api.github.com/repos/carllerche/bytes","forks_url":"https://api.github.com/repos/carllerche/bytes/forks","keys_url":"https://api.github.com/repos/carllerche/bytes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carllerche/bytes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carllerche/bytes/teams","hooks_url":"https://api.github.com/repos/carllerche/bytes/hooks","issue_events_url":"https://api.github.com/repos/carllerche/bytes/issues/events{/number}","events_url":"https://api.github.com/repos/carllerche/bytes/events","assignees_url":"https://api.github.com/repos/carllerche/bytes/assignees{/user}","branches_url":"https://api.github.com/repos/carllerche/bytes/branches{/branch}","tags_url":"https://api.github.com/repos/carllerche/bytes/tags","blobs_url":"https://api.github.com/repos/carllerche/bytes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carllerche/bytes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carllerche/bytes/git/refs{/sha}","trees_url":"https://api.github.com/repos/carllerche/bytes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carllerche/bytes/statuses/{sha}","languages_url":"https://api.github.com/repos/carllerche/bytes/languages","stargazers_url":"https://api.github.com/repos/carllerche/bytes/stargazers","contributors_url":"https://api.github.com/repos/carllerche/bytes/contributors","subscribers_url":"https://api.github.com/repos/carllerche/bytes/subscribers","subscription_url":"https://api.github.com/repos/carllerche/bytes/subscription","commits_url":"https://api.github.com/repos/carllerche/bytes/commits{/sha}","git_commits_url":"https://api.github.com/repos/carllerche/bytes/git/commits{/sha}","comments_url":"https://api.github.com/repos/carllerche/bytes/comments{/number}","issue_comment_url":"https://api.github.com/repos/carllerche/bytes/issues/comments{/number}","contents_url":"https://api.github.com/repos/carllerche/bytes/contents/{+path}","compare_url":"https://api.github.com/repos/carllerche/bytes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carllerche/bytes/merges","archive_url":"https://api.github.com/repos/carllerche/bytes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carllerche/bytes/downloads","issues_url":"https://api.github.com/repos/carllerche/bytes/issues{/number}","pulls_url":"https://api.github.com/repos/carllerche/bytes/pulls{/number}","milestones_url":"https://api.github.com/repos/carllerche/bytes/milestones{/number}","notifications_url":"https://api.github.com/repos/carllerche/bytes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carllerche/bytes/labels{/name}","releases_url":"https://api.github.com/repos/carllerche/bytes/releases{/id}","created_at":"2015-01-30T08:05:46Z","updated_at":"2015-04-09T22:10:59Z","pushed_at":"2015-04-11T23:59:10Z","git_url":"git://github.com/carllerche/bytes.git","ssh_url":"git@github.com:carllerche/bytes.git","clone_url":"https://github.com/carllerche/bytes.git","svn_url":"https://github.com/carllerche/bytes","homepage":null,"size":1505,"stargazers_count":20,"watchers_count":20,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":5,"forks":9,"open_issues":5,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/carllerche/bytes/pulls/19"},"html":{"href":"https://github.com/carllerche/bytes/pull/19"},"issue":{"href":"https://api.github.com/repos/carllerche/bytes/issues/19"},"comments":{"href":"https://api.github.com/repos/carllerche/bytes/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/carllerche/bytes/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/carllerche/bytes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/carllerche/bytes/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/carllerche/bytes/statuses/4d645c7f532c82df040f96c1230fb0ef7625ac6a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"carllerche","id":6180,"avatar_url":"https://avatars.githubusercontent.com/u/6180?v=3","gravatar_id":"","url":"https://api.github.com/users/carllerche","html_url":"https://github.com/carllerche","followers_url":"https://api.github.com/users/carllerche/followers","following_url":"https://api.github.com/users/carllerche/following{/other_user}","gists_url":"https://api.github.com/users/carllerche/gists{/gist_id}","starred_url":"https://api.github.com/users/carllerche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carllerche/subscriptions","organizations_url":"https://api.github.com/users/carllerche/orgs","repos_url":"https://api.github.com/users/carllerche/repos","events_url":"https://api.github.com/users/carllerche/events{/privacy}","received_events_url":"https://api.github.com/users/carllerche/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":110,"deletions":5,"changed_files":4}}