{"action":"created","comment":{"url":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/comments/43470770","id":43470770,"diff_hunk":"@@ -200,18 +200,32 @@ func GetFileWithOptions(fs vfs.FileSystem, path string, opt GetFileOptions) (*Fi\n // readDir uses the passed vfs.FileSystem to read from starting at the base path.\n // If recurseSingleSubfolder is true, it will descend and include sub-folders","path":"vcsclient/fs.go","position":11,"original_position":11,"commit_id":"897f7ac52e71cfaf9375e6547920486849bd7820","original_commit_id":"897f7ac52e71cfaf9375e6547920486849bd7820","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"body":"`// If recurseSingleSubfolder is true` comment needs updating.","created_at":"2015-10-30T04:22:22Z","updated_at":"2015-10-30T04:22:22Z","html_url":"https://github.com/sourcegraph/vcsstore/pull/36#discussion_r43470770","pull_request_url":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/comments/43470770"},"html":{"href":"https://github.com/sourcegraph/vcsstore/pull/36#discussion_r43470770"},"pull_request":{"href":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/36","id":49101017,"html_url":"https://github.com/sourcegraph/vcsstore/pull/36","diff_url":"https://github.com/sourcegraph/vcsstore/pull/36.diff","patch_url":"https://github.com/sourcegraph/vcsstore/pull/36.patch","issue_url":"https://api.github.com/repos/sourcegraph/vcsstore/issues/36","number":36,"state":"open","locked":false,"title":"Recursion limit","user":{"login":"beyang","id":1646931,"avatar_url":"https://avatars.githubusercontent.com/u/1646931?v=3","gravatar_id":"","url":"https://api.github.com/users/beyang","html_url":"https://github.com/beyang","followers_url":"https://api.github.com/users/beyang/followers","following_url":"https://api.github.com/users/beyang/following{/other_user}","gists_url":"https://api.github.com/users/beyang/gists{/gist_id}","starred_url":"https://api.github.com/users/beyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beyang/subscriptions","organizations_url":"https://api.github.com/users/beyang/orgs","repos_url":"https://api.github.com/users/beyang/repos","events_url":"https://api.github.com/users/beyang/events{/privacy}","received_events_url":"https://api.github.com/users/beyang/received_events","type":"User","site_admin":false},"body":"This makes `RecurseSingleSubfolder` an int instead of a bool, making the number of subdirectories searched for single-sub-directory chains limited to a number (as this can become computationally expensive).","created_at":"2015-10-29T05:43:52Z","updated_at":"2015-10-30T04:22:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99c72cff7186a8cef270c14632c7e62d1c42a6d9","assignee":{"login":"pararthshah","id":1484859,"avatar_url":"https://avatars.githubusercontent.com/u/1484859?v=3","gravatar_id":"","url":"https://api.github.com/users/pararthshah","html_url":"https://github.com/pararthshah","followers_url":"https://api.github.com/users/pararthshah/followers","following_url":"https://api.github.com/users/pararthshah/following{/other_user}","gists_url":"https://api.github.com/users/pararthshah/gists{/gist_id}","starred_url":"https://api.github.com/users/pararthshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pararthshah/subscriptions","organizations_url":"https://api.github.com/users/pararthshah/orgs","repos_url":"https://api.github.com/users/pararthshah/repos","events_url":"https://api.github.com/users/pararthshah/events{/privacy}","received_events_url":"https://api.github.com/users/pararthshah/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/36/commits","review_comments_url":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/36/comments","review_comment_url":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sourcegraph/vcsstore/issues/36/comments","statuses_url":"https://api.github.com/repos/sourcegraph/vcsstore/statuses/897f7ac52e71cfaf9375e6547920486849bd7820","head":{"label":"sourcegraph:recursion-limit","ref":"recursion-limit","sha":"897f7ac52e71cfaf9375e6547920486849bd7820","user":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":19602772,"name":"vcsstore","full_name":"sourcegraph/vcsstore","owner":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcegraph/vcsstore","description":"vcsstore stores VCS repositories and makes them accessible via HTTP","fork":false,"url":"https://api.github.com/repos/sourcegraph/vcsstore","forks_url":"https://api.github.com/repos/sourcegraph/vcsstore/forks","keys_url":"https://api.github.com/repos/sourcegraph/vcsstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcegraph/vcsstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcegraph/vcsstore/teams","hooks_url":"https://api.github.com/repos/sourcegraph/vcsstore/hooks","issue_events_url":"https://api.github.com/repos/sourcegraph/vcsstore/issues/events{/number}","events_url":"https://api.github.com/repos/sourcegraph/vcsstore/events","assignees_url":"https://api.github.com/repos/sourcegraph/vcsstore/assignees{/user}","branches_url":"https://api.github.com/repos/sourcegraph/vcsstore/branches{/branch}","tags_url":"https://api.github.com/repos/sourcegraph/vcsstore/tags","blobs_url":"https://api.github.com/repos/sourcegraph/vcsstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcegraph/vcsstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcegraph/vcsstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcegraph/vcsstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcegraph/vcsstore/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcegraph/vcsstore/languages","stargazers_url":"https://api.github.com/repos/sourcegraph/vcsstore/stargazers","contributors_url":"https://api.github.com/repos/sourcegraph/vcsstore/contributors","subscribers_url":"https://api.github.com/repos/sourcegraph/vcsstore/subscribers","subscription_url":"https://api.github.com/repos/sourcegraph/vcsstore/subscription","commits_url":"https://api.github.com/repos/sourcegraph/vcsstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcegraph/vcsstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcegraph/vcsstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcegraph/vcsstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcegraph/vcsstore/contents/{+path}","compare_url":"https://api.github.com/repos/sourcegraph/vcsstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcegraph/vcsstore/merges","archive_url":"https://api.github.com/repos/sourcegraph/vcsstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcegraph/vcsstore/downloads","issues_url":"https://api.github.com/repos/sourcegraph/vcsstore/issues{/number}","pulls_url":"https://api.github.com/repos/sourcegraph/vcsstore/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcegraph/vcsstore/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcegraph/vcsstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcegraph/vcsstore/labels{/name}","releases_url":"https://api.github.com/repos/sourcegraph/vcsstore/releases{/id}","created_at":"2014-05-09T07:21:20Z","updated_at":"2015-07-30T22:25:39Z","pushed_at":"2015-10-29T05:43:52Z","git_url":"git://github.com/sourcegraph/vcsstore.git","ssh_url":"git@github.com:sourcegraph/vcsstore.git","clone_url":"https://github.com/sourcegraph/vcsstore.git","svn_url":"https://github.com/sourcegraph/vcsstore","homepage":"https://sourcegraph.com/sourcegraph/vcsstore","size":7052,"stargazers_count":16,"watchers_count":16,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":16,"default_branch":"master"}},"base":{"label":"sourcegraph:master","ref":"master","sha":"e0362be9d89e905bb193d36f21f186d576fe5d84","user":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":19602772,"name":"vcsstore","full_name":"sourcegraph/vcsstore","owner":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcegraph/vcsstore","description":"vcsstore stores VCS repositories and makes them accessible via HTTP","fork":false,"url":"https://api.github.com/repos/sourcegraph/vcsstore","forks_url":"https://api.github.com/repos/sourcegraph/vcsstore/forks","keys_url":"https://api.github.com/repos/sourcegraph/vcsstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcegraph/vcsstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcegraph/vcsstore/teams","hooks_url":"https://api.github.com/repos/sourcegraph/vcsstore/hooks","issue_events_url":"https://api.github.com/repos/sourcegraph/vcsstore/issues/events{/number}","events_url":"https://api.github.com/repos/sourcegraph/vcsstore/events","assignees_url":"https://api.github.com/repos/sourcegraph/vcsstore/assignees{/user}","branches_url":"https://api.github.com/repos/sourcegraph/vcsstore/branches{/branch}","tags_url":"https://api.github.com/repos/sourcegraph/vcsstore/tags","blobs_url":"https://api.github.com/repos/sourcegraph/vcsstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcegraph/vcsstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcegraph/vcsstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcegraph/vcsstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcegraph/vcsstore/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcegraph/vcsstore/languages","stargazers_url":"https://api.github.com/repos/sourcegraph/vcsstore/stargazers","contributors_url":"https://api.github.com/repos/sourcegraph/vcsstore/contributors","subscribers_url":"https://api.github.com/repos/sourcegraph/vcsstore/subscribers","subscription_url":"https://api.github.com/repos/sourcegraph/vcsstore/subscription","commits_url":"https://api.github.com/repos/sourcegraph/vcsstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcegraph/vcsstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcegraph/vcsstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcegraph/vcsstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcegraph/vcsstore/contents/{+path}","compare_url":"https://api.github.com/repos/sourcegraph/vcsstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcegraph/vcsstore/merges","archive_url":"https://api.github.com/repos/sourcegraph/vcsstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcegraph/vcsstore/downloads","issues_url":"https://api.github.com/repos/sourcegraph/vcsstore/issues{/number}","pulls_url":"https://api.github.com/repos/sourcegraph/vcsstore/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcegraph/vcsstore/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcegraph/vcsstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcegraph/vcsstore/labels{/name}","releases_url":"https://api.github.com/repos/sourcegraph/vcsstore/releases{/id}","created_at":"2014-05-09T07:21:20Z","updated_at":"2015-07-30T22:25:39Z","pushed_at":"2015-10-29T05:43:52Z","git_url":"git://github.com/sourcegraph/vcsstore.git","ssh_url":"git@github.com:sourcegraph/vcsstore.git","clone_url":"https://github.com/sourcegraph/vcsstore.git","svn_url":"https://github.com/sourcegraph/vcsstore","homepage":"https://sourcegraph.com/sourcegraph/vcsstore","size":7052,"stargazers_count":16,"watchers_count":16,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/36"},"html":{"href":"https://github.com/sourcegraph/vcsstore/pull/36"},"issue":{"href":"https://api.github.com/repos/sourcegraph/vcsstore/issues/36"},"comments":{"href":"https://api.github.com/repos/sourcegraph/vcsstore/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sourcegraph/vcsstore/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/sourcegraph/vcsstore/statuses/897f7ac52e71cfaf9375e6547920486849bd7820"}}}}