payload: {"action":"opened","number":1454,"pull_request":{"url":"https://api.github.com/repos/BurntSushi/ripgrep/pulls/1454","id":359156755,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU5MTU2NzU1","html_url":"https://github.com/BurntSushi/ripgrep/pull/1454","diff_url":"https://github.com/BurntSushi/ripgrep/pull/1454.diff","patch_url":"https://github.com/BurntSushi/ripgrep/pull/1454.patch","issue_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/1454","number":1454,"state":"open","locked":false,"title":"globset: Add GlobMatcher::glob","user":{"login":"LPGhatguy","id":654598,"node_id":"MDQ6VXNlcjY1NDU5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/654598?v=4","gravatar_id":"","url":"https://api.github.com/users/LPGhatguy","html_url":"https://github.com/LPGhatguy","followers_url":"https://api.github.com/users/LPGhatguy/followers","following_url":"https://api.github.com/users/LPGhatguy/following{/other_user}","gists_url":"https://api.github.com/users/LPGhatguy/gists{/gist_id}","starred_url":"https://api.github.com/users/LPGhatguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LPGhatguy/subscriptions","organizations_url":"https://api.github.com/users/LPGhatguy/orgs","repos_url":"https://api.github.com/users/LPGhatguy/repos","events_url":"https://api.github.com/users/LPGhatguy/events{/privacy}","received_events_url":"https://api.github.com/users/LPGhatguy/received_events","type":"User","site_admin":false},"body":"The `GlobMatcher` type holds onto the `Glob` object that was used to create it. This PR exposes a reference to it through a getter.\r\n\r\nMy main use is that I have a project that uses globset by wrapping the `GlobMatcher` type in a type that I can implement Serde's `Serialize` and `Deserialize` on. In order to get access to the original pattern, I [currently need to redundantly keep my own copy of the `Glob` struct](https://github.com/rojo-rbx/rojo/blob/c82bc8a3583a65279d7aa28cde4b53977cd78fc4/src/glob.rs) to get access to its string pattern.\r\n\r\nThis API would enable me to only need to keep around `GlobMatcher`.","created_at":"2020-01-03T23:41:07Z","updated_at":"2020-01-03T23:41:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BurntSushi/ripgrep/pulls/1454/commits","review_comments_url":"https://api.github.com/repos/BurntSushi/ripgrep/pulls/1454/comments","review_comment_url":"https://api.github.com/repos/BurntSushi/ripgrep/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/1454/comments","statuses_url":"https://api.github.com/repos/BurntSushi/ripgrep/statuses/13a8a1a44ce93708b70e10a492184ae7172e6069","head":{"label":"LPGhatguy:expose-globmatcher-glob","ref":"expose-globmatcher-glob","sha":"13a8a1a44ce93708b70e10a492184ae7172e6069","user":{"login":"LPGhatguy","id":654598,"node_id":"MDQ6VXNlcjY1NDU5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/654598?v=4","gravatar_id":"","url":"https://api.github.com/users/LPGhatguy","html_url":"https://github.com/LPGhatguy","followers_url":"https://api.github.com/users/LPGhatguy/followers","following_url":"https://api.github.com/users/LPGhatguy/following{/other_user}","gists_url":"https://api.github.com/users/LPGhatguy/gists{/gist_id}","starred_url":"https://api.github.com/users/LPGhatguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LPGhatguy/subscriptions","organizations_url":"https://api.github.com/users/LPGhatguy/orgs","repos_url":"https://api.github.com/users/LPGhatguy/repos","events_url":"https://api.github.com/users/LPGhatguy/events{/privacy}","received_events_url":"https://api.github.com/users/LPGhatguy/received_events","type":"User","site_admin":false},"repo":{"id":231682273,"node_id":"MDEwOlJlcG9zaXRvcnkyMzE2ODIyNzM=","name":"ripgrep","full_name":"LPGhatguy/ripgrep","private":false,"owner":{"login":"LPGhatguy","id":654598,"node_id":"MDQ6VXNlcjY1NDU5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/654598?v=4","gravatar_id":"","url":"https://api.github.com/users/LPGhatguy","html_url":"https://github.com/LPGhatguy","followers_url":"https://api.github.com/users/LPGhatguy/followers","following_url":"https://api.github.com/users/LPGhatguy/following{/other_user}","gists_url":"https://api.github.com/users/LPGhatguy/gists{/gist_id}","starred_url":"https://api.github.com/users/LPGhatguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LPGhatguy/subscriptions","organizations_url":"https://api.github.com/users/LPGhatguy/orgs","repos_url":"https://api.github.com/users/LPGhatguy/repos","events_url":"https://api.github.com/users/LPGhatguy/events{/privacy}","received_events_url":"https://api.github.com/users/LPGhatguy/received_events","type":"User","site_admin":false},"html_url":"https://github.com/LPGhatguy/ripgrep","description":"ripgrep recursively searches directories for a regex pattern","fork":true,"url":"https://api.github.com/repos/LPGhatguy/ripgrep","forks_url":"https://api.github.com/repos/LPGhatguy/ripgrep/forks","keys_url":"https://api.github.com/repos/LPGhatguy/ripgrep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LPGhatguy/ripgrep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LPGhatguy/ripgrep/teams","hooks_url":"https://api.github.com/repos/LPGhatguy/ripgrep/hooks","issue_events_url":"https://api.github.com/repos/LPGhatguy/ripgrep/issues/events{/number}","events_url":"https://api.github.com/repos/LPGhatguy/ripgrep/events","assignees_url":"https://api.github.com/repos/LPGhatguy/ripgrep/assignees{/user}","branches_url":"https://api.github.com/repos/LPGhatguy/ripgrep/branches{/branch}","tags_url":"https://api.github.com/repos/LPGhatguy/ripgrep/tags","blobs_url":"https://api.github.com/repos/LPGhatguy/ripgrep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LPGhatguy/ripgrep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LPGhatguy/ripgrep/git/refs{/sha}","trees_url":"https://api.github.com/repos/LPGhatguy/ripgrep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LPGhatguy/ripgrep/statuses/{sha}","languages_url":"https://api.github.com/repos/LPGhatguy/ripgrep/languages","stargazers_url":"https://api.github.com/repos/LPGhatguy/ripgrep/stargazers","contributors_url":"https://api.github.com/repos/LPGhatguy/ripgrep/contributors","subscribers_url":"https://api.github.com/repos/LPGhatguy/ripgrep/subscribers","subscription_url":"https://api.github.com/repos/LPGhatguy/ripgrep/subscription","commits_url":"https://api.github.com/repos/LPGhatguy/ripgrep/commits{/sha}","git_commits_url":"https://api.github.com/repos/LPGhatguy/ripgrep/git/commits{/sha}","comments_url":"https://api.github.com/repos/LPGhatguy/ripgrep/comments{/number}","issue_comment_url":"https://api.github.com/repos/LPGhatguy/ripgrep/issues/comments{/number}","contents_url":"https://api.github.com/repos/LPGhatguy/ripgrep/contents/{+path}","compare_url":"https://api.github.com/repos/LPGhatguy/ripgrep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LPGhatguy/ripgrep/merges","archive_url":"https://api.github.com/repos/LPGhatguy/ripgrep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LPGhatguy/ripgrep/downloads","issues_url":"https://api.github.com/repos/LPGhatguy/ripgrep/issues{/number}","pulls_url":"https://api.github.com/repos/LPGhatguy/ripgrep/pulls{/number}","milestones_url":"https://api.github.com/repos/LPGhatguy/ripgrep/milestones{/number}","notifications_url":"https://api.github.com/repos/LPGhatguy/ripgrep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LPGhatguy/ripgrep/labels{/name}","releases_url":"https://api.github.com/repos/LPGhatguy/ripgrep/releases{/id}","deployments_url":"https://api.github.com/repos/LPGhatguy/ripgrep/deployments","created_at":"2020-01-03T23:33:39Z","updated_at":"2020-01-03T23:33:41Z","pushed_at":"2020-01-03T23:36:36Z","git_url":"git://github.com/LPGhatguy/ripgrep.git","ssh_url":"git@github.com:LPGhatguy/ripgrep.git","clone_url":"https://github.com/LPGhatguy/ripgrep.git","svn_url":"https://github.com/LPGhatguy/ripgrep","homepage":"","size":3319,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BurntSushi:master","ref":"master","sha":"8892bf648cfec111e6e7ddd9f30e932b0371db68","user":{"login":"BurntSushi","id":456674,"node_id":"MDQ6VXNlcjQ1NjY3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/456674?v=4","gravatar_id":"","url":"https://api.github.com/users/BurntSushi","html_url":"https://github.com/BurntSushi","followers_url":"https://api.github.com/users/BurntSushi/followers","following_url":"https://api.github.com/users/BurntSushi/following{/other_user}","gists_url":"https://api.github.com/users/BurntSushi/gists{/gist_id}","starred_url":"https://api.github.com/users/BurntSushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurntSushi/subscriptions","organizations_url":"https://api.github.com/users/BurntSushi/orgs","repos_url":"https://api.github.com/users/BurntSushi/repos","events_url":"https://api.github.com/users/BurntSushi/events{/privacy}","received_events_url":"https://api.github.com/users/BurntSushi/received_events","type":"User","site_admin":false},"repo":{"id":53631945,"node_id":"MDEwOlJlcG9zaXRvcnk1MzYzMTk0NQ==","name":"ripgrep","full_name":"BurntSushi/ripgrep","private":false,"owner":{"login":"BurntSushi","id":456674,"node_id":"MDQ6VXNlcjQ1NjY3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/456674?v=4","gravatar_id":"","url":"https://api.github.com/users/BurntSushi","html_url":"https://github.com/BurntSushi","followers_url":"https://api.github.com/users/BurntSushi/followers","following_url":"https://api.github.com/users/BurntSushi/following{/other_user}","gists_url":"https://api.github.com/users/BurntSushi/gists{/gist_id}","starred_url":"https://api.github.com/users/BurntSushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurntSushi/subscriptions","organizations_url":"https://api.github.com/users/BurntSushi/orgs","repos_url":"https://api.github.com/users/BurntSushi/repos","events_url":"https://api.github.com/users/BurntSushi/events{/privacy}","received_events_url":"https://api.github.com/users/BurntSushi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/BurntSushi/ripgrep","description":"ripgrep recursively searches directories for a regex pattern","fork":false,"url":"https://api.github.com/repos/BurntSushi/ripgrep","forks_url":"https://api.github.com/repos/BurntSushi/ripgrep/forks","keys_url":"https://api.github.com/repos/BurntSushi/ripgrep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BurntSushi/ripgrep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BurntSushi/ripgrep/teams","hooks_url":"https://api.github.com/repos/BurntSushi/ripgrep/hooks","issue_events_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/events{/number}","events_url":"https://api.github.com/repos/BurntSushi/ripgrep/events","assignees_url":"https://api.github.com/repos/BurntSushi/ripgrep/assignees{/user}","branches_url":"https://api.github.com/repos/BurntSushi/ripgrep/branches{/branch}","tags_url":"https://api.github.com/repos/BurntSushi/ripgrep/tags","blobs_url":"https://api.github.com/repos/BurntSushi/ripgrep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BurntSushi/ripgrep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BurntSushi/ripgrep/git/refs{/sha}","trees_url":"https://api.github.com/repos/BurntSushi/ripgrep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BurntSushi/ripgrep/statuses/{sha}","languages_url":"https://api.github.com/repos/BurntSushi/ripgrep/languages","stargazers_url":"https://api.github.com/repos/BurntSushi/ripgrep/stargazers","contributors_url":"https://api.github.com/repos/BurntSushi/ripgrep/contributors","subscribers_url":"https://api.github.com/repos/BurntSushi/ripgrep/subscribers","subscription_url":"https://api.github.com/repos/BurntSushi/ripgrep/subscription","commits_url":"https://api.github.com/repos/BurntSushi/ripgrep/commits{/sha}","git_commits_url":"https://api.github.com/repos/BurntSushi/ripgrep/git/commits{/sha}","comments_url":"https://api.github.com/repos/BurntSushi/ripgrep/comments{/number}","issue_comment_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/comments{/number}","contents_url":"https://api.github.com/repos/BurntSushi/ripgrep/contents/{+path}","compare_url":"https://api.github.com/repos/BurntSushi/ripgrep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BurntSushi/ripgrep/merges","archive_url":"https://api.github.com/repos/BurntSushi/ripgrep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BurntSushi/ripgrep/downloads","issues_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues{/number}","pulls_url":"https://api.github.com/repos/BurntSushi/ripgrep/pulls{/number}","milestones_url":"https://api.github.com/repos/BurntSushi/ripgrep/milestones{/number}","notifications_url":"https://api.github.com/repos/BurntSushi/ripgrep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BurntSushi/ripgrep/labels{/name}","releases_url":"https://api.github.com/repos/BurntSushi/ripgrep/releases{/id}","deployments_url":"https://api.github.com/repos/BurntSushi/ripgrep/deployments","created_at":"2016-03-11T02:02:33Z","updated_at":"2020-01-03T22:37:26Z","pushed_at":"2019-12-19T18:07:13Z","git_url":"git://github.com/BurntSushi/ripgrep.git","ssh_url":"git@github.com:BurntSushi/ripgrep.git","clone_url":"https://github.com/BurntSushi/ripgrep.git","svn_url":"https://github.com/BurntSushi/ripgrep","homepage":"","size":3319,"stargazers_count":17501,"watchers_count":17501,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":760,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":94,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":760,"open_issues":94,"watchers":17501,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BurntSushi/ripgrep/pulls/1454"},"html":{"href":"https://github.com/BurntSushi/ripgrep/pull/1454"},"issue":{"href":"https://api.github.com/repos/BurntSushi/ripgrep/issues/1454"},"comments":{"href":"https://api.github.com/repos/BurntSushi/ripgrep/issues/1454/comments"},"review_comments":{"href":"https://api.github.com/repos/BurntSushi/ripgrep/pulls/1454/comments"},"review_comment":{"href":"https://api.github.com/repos/BurntSushi/ripgrep/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BurntSushi/ripgrep/pulls/1454/commits"},"statuses":{"href":"https://api.github.com/repos/BurntSushi/ripgrep/statuses/13a8a1a44ce93708b70e10a492184ae7172e6069"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
other: {"actor":{"display_login":"LPGhatguy"}}