{"action":"created","comment":{"url":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/comments/35296261","id":35296261,"diff_hunk":"@@ -16,6 +17,7 @@ var (\n \thttpAddr   = flag.String(\"http\", \":7070\", \"HTTP listen address\")\n \tstorageDir = flag.String(\"dir\", \".\", \"directory to serve via HTTP (caution: HTTP clients can create/edit/delete/view any files in this dir)\")\n \tverbose    = flag.Bool(\"v\", false, \"verbose output\")\n+\tdelay      = flag.Int(\"delay\", 0, \"artificial handler response latency, in milliseconds, for simulating slowness\")","path":"httpvfs/main.go","position":12,"original_position":12,"commit_id":"ebdd6facaf8ae2f3cefb056760fd1483fd555294","original_commit_id":"ebdd6facaf8ae2f3cefb056760fd1483fd555294","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":"@sqs, nice, I wasn't aware of it, thanks for the tip!\r\n\r\nP.S. A neat feature would be the ability to \"add a reaction\" to a comment, similar to how Slack lets you do it. That avoids noise, but lets me express that \"hey, your comment was helpful to me!\"","created_at":"2015-07-23T07:37:49Z","updated_at":"2015-07-23T07:37:49Z","html_url":"https://github.com/sourcegraph/rwvfs/pull/4#discussion_r35296261","pull_request_url":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/comments/35296261"},"html":{"href":"https://github.com/sourcegraph/rwvfs/pull/4#discussion_r35296261"},"pull_request":{"href":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/4","id":40535839,"html_url":"https://github.com/sourcegraph/rwvfs/pull/4","diff_url":"https://github.com/sourcegraph/rwvfs/pull/4.diff","patch_url":"https://github.com/sourcegraph/rwvfs/pull/4.patch","issue_url":"https://api.github.com/repos/sourcegraph/rwvfs/issues/4","number":4,"state":"closed","locked":false,"title":"add delay flag","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":"For debugging purposes, it's helpful to add a delay to the HTTP VFS.","created_at":"2015-07-22T07:04:10Z","updated_at":"2015-07-23T07:37:49Z","closed_at":"2015-07-23T01:58:56Z","merged_at":"2015-07-23T01:58:56Z","merge_commit_sha":"e201245c3a10e9a7ebb0f3a2c0f8847e9d0fbba2","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/4/commits","review_comments_url":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/4/comments","review_comment_url":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sourcegraph/rwvfs/issues/4/comments","statuses_url":"https://api.github.com/repos/sourcegraph/rwvfs/statuses/ebdd6facaf8ae2f3cefb056760fd1483fd555294","head":{"label":"sourcegraph:delay","ref":"delay","sha":"ebdd6facaf8ae2f3cefb056760fd1483fd555294","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":12870040,"name":"rwvfs","full_name":"sourcegraph/rwvfs","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/rwvfs","description":"Package rwvfs augments vfs to support write operations.","fork":false,"url":"https://api.github.com/repos/sourcegraph/rwvfs","forks_url":"https://api.github.com/repos/sourcegraph/rwvfs/forks","keys_url":"https://api.github.com/repos/sourcegraph/rwvfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcegraph/rwvfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcegraph/rwvfs/teams","hooks_url":"https://api.github.com/repos/sourcegraph/rwvfs/hooks","issue_events_url":"https://api.github.com/repos/sourcegraph/rwvfs/issues/events{/number}","events_url":"https://api.github.com/repos/sourcegraph/rwvfs/events","assignees_url":"https://api.github.com/repos/sourcegraph/rwvfs/assignees{/user}","branches_url":"https://api.github.com/repos/sourcegraph/rwvfs/branches{/branch}","tags_url":"https://api.github.com/repos/sourcegraph/rwvfs/tags","blobs_url":"https://api.github.com/repos/sourcegraph/rwvfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcegraph/rwvfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcegraph/rwvfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcegraph/rwvfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcegraph/rwvfs/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcegraph/rwvfs/languages","stargazers_url":"https://api.github.com/repos/sourcegraph/rwvfs/stargazers","contributors_url":"https://api.github.com/repos/sourcegraph/rwvfs/contributors","subscribers_url":"https://api.github.com/repos/sourcegraph/rwvfs/subscribers","subscription_url":"https://api.github.com/repos/sourcegraph/rwvfs/subscription","commits_url":"https://api.github.com/repos/sourcegraph/rwvfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcegraph/rwvfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcegraph/rwvfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcegraph/rwvfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcegraph/rwvfs/contents/{+path}","compare_url":"https://api.github.com/repos/sourcegraph/rwvfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcegraph/rwvfs/merges","archive_url":"https://api.github.com/repos/sourcegraph/rwvfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcegraph/rwvfs/downloads","issues_url":"https://api.github.com/repos/sourcegraph/rwvfs/issues{/number}","pulls_url":"https://api.github.com/repos/sourcegraph/rwvfs/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcegraph/rwvfs/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcegraph/rwvfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcegraph/rwvfs/labels{/name}","releases_url":"https://api.github.com/repos/sourcegraph/rwvfs/releases{/id}","created_at":"2013-09-16T14:51:28Z","updated_at":"2015-06-29T02:15:07Z","pushed_at":"2015-07-23T01:58:58Z","git_url":"git://github.com/sourcegraph/rwvfs.git","ssh_url":"git@github.com:sourcegraph/rwvfs.git","clone_url":"https://github.com/sourcegraph/rwvfs.git","svn_url":"https://github.com/sourcegraph/rwvfs","homepage":null,"size":413,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"sourcegraph:master","ref":"master","sha":"486352b6c67dee55205b70de6cecf7e9ef1e696d","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":12870040,"name":"rwvfs","full_name":"sourcegraph/rwvfs","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/rwvfs","description":"Package rwvfs augments vfs to support write operations.","fork":false,"url":"https://api.github.com/repos/sourcegraph/rwvfs","forks_url":"https://api.github.com/repos/sourcegraph/rwvfs/forks","keys_url":"https://api.github.com/repos/sourcegraph/rwvfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcegraph/rwvfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcegraph/rwvfs/teams","hooks_url":"https://api.github.com/repos/sourcegraph/rwvfs/hooks","issue_events_url":"https://api.github.com/repos/sourcegraph/rwvfs/issues/events{/number}","events_url":"https://api.github.com/repos/sourcegraph/rwvfs/events","assignees_url":"https://api.github.com/repos/sourcegraph/rwvfs/assignees{/user}","branches_url":"https://api.github.com/repos/sourcegraph/rwvfs/branches{/branch}","tags_url":"https://api.github.com/repos/sourcegraph/rwvfs/tags","blobs_url":"https://api.github.com/repos/sourcegraph/rwvfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcegraph/rwvfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcegraph/rwvfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcegraph/rwvfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcegraph/rwvfs/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcegraph/rwvfs/languages","stargazers_url":"https://api.github.com/repos/sourcegraph/rwvfs/stargazers","contributors_url":"https://api.github.com/repos/sourcegraph/rwvfs/contributors","subscribers_url":"https://api.github.com/repos/sourcegraph/rwvfs/subscribers","subscription_url":"https://api.github.com/repos/sourcegraph/rwvfs/subscription","commits_url":"https://api.github.com/repos/sourcegraph/rwvfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcegraph/rwvfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcegraph/rwvfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcegraph/rwvfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcegraph/rwvfs/contents/{+path}","compare_url":"https://api.github.com/repos/sourcegraph/rwvfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcegraph/rwvfs/merges","archive_url":"https://api.github.com/repos/sourcegraph/rwvfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcegraph/rwvfs/downloads","issues_url":"https://api.github.com/repos/sourcegraph/rwvfs/issues{/number}","pulls_url":"https://api.github.com/repos/sourcegraph/rwvfs/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcegraph/rwvfs/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcegraph/rwvfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcegraph/rwvfs/labels{/name}","releases_url":"https://api.github.com/repos/sourcegraph/rwvfs/releases{/id}","created_at":"2013-09-16T14:51:28Z","updated_at":"2015-06-29T02:15:07Z","pushed_at":"2015-07-23T01:58:58Z","git_url":"git://github.com/sourcegraph/rwvfs.git","ssh_url":"git@github.com:sourcegraph/rwvfs.git","clone_url":"https://github.com/sourcegraph/rwvfs.git","svn_url":"https://github.com/sourcegraph/rwvfs","homepage":null,"size":413,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/4"},"html":{"href":"https://github.com/sourcegraph/rwvfs/pull/4"},"issue":{"href":"https://api.github.com/repos/sourcegraph/rwvfs/issues/4"},"comments":{"href":"https://api.github.com/repos/sourcegraph/rwvfs/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sourcegraph/rwvfs/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/sourcegraph/rwvfs/statuses/ebdd6facaf8ae2f3cefb056760fd1483fd555294"}}}}