{"action":"created","comment":{"url":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/comments/63570429","id":63570429,"diff_hunk":"@@ -54,6 +54,85 @@ test.all(common)\n \n A valid (read: that follows this interface) IPFS core implementation, must expose the following API.\n \n+## Group Files\n+\n+### `Add`\n+\n+> Store a Unixfs file or directory of files .\n+\n+##### `Go` **WIP**\n+\n+##### `JavaScript` - ipfs.add(path, [options, callback])\n+\n+`path` The path to a file to be added to IPFS. Can be of type:\n+\n+- Callback, If no first argument is supplied a callback will return a duplex stream.","path":"README.md","position":16,"original_position":16,"commit_id":"87f60a17d49ee98bd9131929f634ff7841fa96a0","original_commit_id":"87f60a17d49ee98bd9131929f634ff7841fa96a0","user":{"login":"noffle","id":489362,"avatar_url":"https://avatars.githubusercontent.com/u/489362?v=3","gravatar_id":"","url":"https://api.github.com/users/noffle","html_url":"https://github.com/noffle","followers_url":"https://api.github.com/users/noffle/followers","following_url":"https://api.github.com/users/noffle/following{/other_user}","gists_url":"https://api.github.com/users/noffle/gists{/gist_id}","starred_url":"https://api.github.com/users/noffle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noffle/subscriptions","organizations_url":"https://api.github.com/users/noffle/orgs","repos_url":"https://api.github.com/users/noffle/repos","events_url":"https://api.github.com/users/noffle/events{/privacy}","received_events_url":"https://api.github.com/users/noffle/received_events","type":"User","site_admin":false},"body":"What are the semantics of this duplex stream?","created_at":"2016-05-17T17:48:53Z","updated_at":"2016-05-17T17:48:53Z","html_url":"https://github.com/ipfs/interface-ipfs-core/pull/8#discussion_r63570429","pull_request_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/comments/63570429"},"html":{"href":"https://github.com/ipfs/interface-ipfs-core/pull/8#discussion_r63570429"},"pull_request":{"href":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/8","id":70081608,"html_url":"https://github.com/ipfs/interface-ipfs-core/pull/8","diff_url":"https://github.com/ipfs/interface-ipfs-core/pull/8.diff","patch_url":"https://github.com/ipfs/interface-ipfs-core/pull/8.patch","issue_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/8","number":8,"state":"open","locked":false,"title":"WIP Files","user":{"login":"nginnever","id":7103153,"avatar_url":"https://avatars.githubusercontent.com/u/7103153?v=3","gravatar_id":"","url":"https://api.github.com/users/nginnever","html_url":"https://github.com/nginnever","followers_url":"https://api.github.com/users/nginnever/followers","following_url":"https://api.github.com/users/nginnever/following{/other_user}","gists_url":"https://api.github.com/users/nginnever/gists{/gist_id}","starred_url":"https://api.github.com/users/nginnever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nginnever/subscriptions","organizations_url":"https://api.github.com/users/nginnever/orgs","repos_url":"https://api.github.com/users/nginnever/repos","events_url":"https://api.github.com/users/nginnever/events{/privacy}","received_events_url":"https://api.github.com/users/nginnever/received_events","type":"User","site_admin":false},"body":"Beginning the files documentation. I haven't added the tests yet but plan to do so after finishing the HTTP-API for JS-IPFS. There are still some things that need to be done to reach complete feature parity with go-ipfs but this is a good place to put the documentation of where js-ipfs is in comparison. \r\n\r\nStarting the gzip compression and tar archiving for jsipfs get command as mentioned in the readme update here. ","created_at":"2016-05-14T04:15:59Z","updated_at":"2016-05-17T17:48:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ea50ad891ddcfce550c1b5076caeb0b7dc0cfac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/8/commits","review_comments_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/8/comments","review_comment_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/8/comments","statuses_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/statuses/87f60a17d49ee98bd9131929f634ff7841fa96a0","head":{"label":"nginnever:master","ref":"master","sha":"87f60a17d49ee98bd9131929f634ff7841fa96a0","user":{"login":"nginnever","id":7103153,"avatar_url":"https://avatars.githubusercontent.com/u/7103153?v=3","gravatar_id":"","url":"https://api.github.com/users/nginnever","html_url":"https://github.com/nginnever","followers_url":"https://api.github.com/users/nginnever/followers","following_url":"https://api.github.com/users/nginnever/following{/other_user}","gists_url":"https://api.github.com/users/nginnever/gists{/gist_id}","starred_url":"https://api.github.com/users/nginnever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nginnever/subscriptions","organizations_url":"https://api.github.com/users/nginnever/orgs","repos_url":"https://api.github.com/users/nginnever/repos","events_url":"https://api.github.com/users/nginnever/events{/privacy}","received_events_url":"https://api.github.com/users/nginnever/received_events","type":"User","site_admin":false},"repo":{"id":58785813,"name":"interface-ipfs-core","full_name":"nginnever/interface-ipfs-core","owner":{"login":"nginnever","id":7103153,"avatar_url":"https://avatars.githubusercontent.com/u/7103153?v=3","gravatar_id":"","url":"https://api.github.com/users/nginnever","html_url":"https://github.com/nginnever","followers_url":"https://api.github.com/users/nginnever/followers","following_url":"https://api.github.com/users/nginnever/following{/other_user}","gists_url":"https://api.github.com/users/nginnever/gists{/gist_id}","starred_url":"https://api.github.com/users/nginnever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nginnever/subscriptions","organizations_url":"https://api.github.com/users/nginnever/orgs","repos_url":"https://api.github.com/users/nginnever/repos","events_url":"https://api.github.com/users/nginnever/events{/privacy}","received_events_url":"https://api.github.com/users/nginnever/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nginnever/interface-ipfs-core","description":"A test suite and interface you can use to implement a IPFS core interface.","fork":true,"url":"https://api.github.com/repos/nginnever/interface-ipfs-core","forks_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/forks","keys_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/teams","hooks_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/hooks","issue_events_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/issues/events{/number}","events_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/events","assignees_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/assignees{/user}","branches_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/branches{/branch}","tags_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/tags","blobs_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/languages","stargazers_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/stargazers","contributors_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/contributors","subscribers_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/subscribers","subscription_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/subscription","commits_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/contents/{+path}","compare_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/merges","archive_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/downloads","issues_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/issues{/number}","pulls_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/labels{/name}","releases_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/releases{/id}","deployments_url":"https://api.github.com/repos/nginnever/interface-ipfs-core/deployments","created_at":"2016-05-14T02:42:41Z","updated_at":"2016-05-14T02:42:43Z","pushed_at":"2016-05-16T18:03:52Z","git_url":"git://github.com/nginnever/interface-ipfs-core.git","ssh_url":"git@github.com:nginnever/interface-ipfs-core.git","clone_url":"https://github.com/nginnever/interface-ipfs-core.git","svn_url":"https://github.com/nginnever/interface-ipfs-core","homepage":null,"size":69,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"ipfs:master","ref":"master","sha":"60b018ab1c2635f3185a9b27a2fd4acb09a7b303","user":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"repo":{"id":58535706,"name":"interface-ipfs-core","full_name":"ipfs/interface-ipfs-core","owner":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipfs/interface-ipfs-core","description":"A test suite and interface you can use to implement a IPFS core interface.","fork":false,"url":"https://api.github.com/repos/ipfs/interface-ipfs-core","forks_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/forks","keys_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/teams","hooks_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/hooks","issue_events_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/events{/number}","events_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/events","assignees_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/assignees{/user}","branches_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/branches{/branch}","tags_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/tags","blobs_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/languages","stargazers_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/stargazers","contributors_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/contributors","subscribers_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/subscribers","subscription_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/subscription","commits_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/contents/{+path}","compare_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/merges","archive_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/downloads","issues_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues{/number}","pulls_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/labels{/name}","releases_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/releases{/id}","deployments_url":"https://api.github.com/repos/ipfs/interface-ipfs-core/deployments","created_at":"2016-05-11T10:30:47Z","updated_at":"2016-05-17T15:52:37Z","pushed_at":"2016-05-17T16:35:34Z","git_url":"git://github.com/ipfs/interface-ipfs-core.git","ssh_url":"git@github.com:ipfs/interface-ipfs-core.git","clone_url":"https://github.com/ipfs/interface-ipfs-core.git","svn_url":"https://github.com/ipfs/interface-ipfs-core","homepage":null,"size":73,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/8"},"html":{"href":"https://github.com/ipfs/interface-ipfs-core/pull/8"},"issue":{"href":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/8"},"comments":{"href":"https://api.github.com/repos/ipfs/interface-ipfs-core/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipfs/interface-ipfs-core/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/ipfs/interface-ipfs-core/statuses/87f60a17d49ee98bd9131929f634ff7841fa96a0"}}}}