{"action":"created","comment":{"url":"https://api.github.com/repos/jean553/Memoris/pulls/comments/35290519","id":35290519,"diff_hunk":"@@ -0,0 +1,48 @@\n+/**\n+ * Memoris\n+ * Copyright (C) 2015  Jean LELIEVRE\n+ *\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU General Public License as published by\n+ * the Free Software Foundation, either version 3 of the License, or\n+ * (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU General Public License\n+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+*/\n+\n+/**\n+ * @file DirReader.hpp\n+ * @package utils\n+ * @author Jean LELIEVRE <Jean.LELIEVRE@supinfo.com>\n+ */\n+\n+#ifndef DEF_DIRREADER\n+#define DEF_DIRREADER\n+\n+#include <iostream>\n+#include <string>\n+#include <vector>\n+#include <dirent.h>","path":"src/utils/DirReader.hpp","position":31,"original_position":31,"commit_id":"80eb825e700ed076bd3ee8cabfed8cd8b3eaec20","original_commit_id":"80eb825e700ed076bd3ee8cabfed8cd8b3eaec20","user":{"login":"jean553","id":8011398,"avatar_url":"https://avatars.githubusercontent.com/u/8011398?v=3","gravatar_id":"","url":"https://api.github.com/users/jean553","html_url":"https://github.com/jean553","followers_url":"https://api.github.com/users/jean553/followers","following_url":"https://api.github.com/users/jean553/following{/other_user}","gists_url":"https://api.github.com/users/jean553/gists{/gist_id}","starred_url":"https://api.github.com/users/jean553/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean553/subscriptions","organizations_url":"https://api.github.com/users/jean553/orgs","repos_url":"https://api.github.com/users/jean553/repos","events_url":"https://api.github.com/users/jean553/events{/privacy}","received_events_url":"https://api.github.com/users/jean553/received_events","type":"User","site_admin":false},"body":"check if includes must be deleted","created_at":"2015-07-23T05:10:10Z","updated_at":"2015-07-23T05:10:10Z","html_url":"https://github.com/jean553/Memoris/pull/112#discussion_r35290519","pull_request_url":"https://api.github.com/repos/jean553/Memoris/pulls/112","_links":{"self":{"href":"https://api.github.com/repos/jean553/Memoris/pulls/comments/35290519"},"html":{"href":"https://github.com/jean553/Memoris/pull/112#discussion_r35290519"},"pull_request":{"href":"https://api.github.com/repos/jean553/Memoris/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/jean553/Memoris/pulls/112","id":40020117,"html_url":"https://github.com/jean553/Memoris/pull/112","diff_url":"https://github.com/jean553/Memoris/pull/112.diff","patch_url":"https://github.com/jean553/Memoris/pull/112.patch","issue_url":"https://api.github.com/repos/jean553/Memoris/issues/112","number":112,"state":"open","locked":false,"title":"109 - add the directory reader class","user":{"login":"jean553","id":8011398,"avatar_url":"https://avatars.githubusercontent.com/u/8011398?v=3","gravatar_id":"","url":"https://api.github.com/users/jean553","html_url":"https://github.com/jean553","followers_url":"https://api.github.com/users/jean553/followers","following_url":"https://api.github.com/users/jean553/following{/other_user}","gists_url":"https://api.github.com/users/jean553/gists{/gist_id}","starred_url":"https://api.github.com/users/jean553/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean553/subscriptions","organizations_url":"https://api.github.com/users/jean553/orgs","repos_url":"https://api.github.com/users/jean553/repos","events_url":"https://api.github.com/users/jean553/events{/privacy}","received_events_url":"https://api.github.com/users/jean553/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-15T13:06:45Z","updated_at":"2015-07-23T05:10:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"405f38d4060f472801a66e69278db2ca1029979e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jean553/Memoris/pulls/112/commits","review_comments_url":"https://api.github.com/repos/jean553/Memoris/pulls/112/comments","review_comment_url":"https://api.github.com/repos/jean553/Memoris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jean553/Memoris/issues/112/comments","statuses_url":"https://api.github.com/repos/jean553/Memoris/statuses/80eb825e700ed076bd3ee8cabfed8cd8b3eaec20","head":{"label":"jean553:109_create_class_dirreader","ref":"109_create_class_dirreader","sha":"80eb825e700ed076bd3ee8cabfed8cd8b3eaec20","user":{"login":"jean553","id":8011398,"avatar_url":"https://avatars.githubusercontent.com/u/8011398?v=3","gravatar_id":"","url":"https://api.github.com/users/jean553","html_url":"https://github.com/jean553","followers_url":"https://api.github.com/users/jean553/followers","following_url":"https://api.github.com/users/jean553/following{/other_user}","gists_url":"https://api.github.com/users/jean553/gists{/gist_id}","starred_url":"https://api.github.com/users/jean553/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean553/subscriptions","organizations_url":"https://api.github.com/users/jean553/orgs","repos_url":"https://api.github.com/users/jean553/repos","events_url":"https://api.github.com/users/jean553/events{/privacy}","received_events_url":"https://api.github.com/users/jean553/received_events","type":"User","site_admin":false},"repo":{"id":33491186,"name":"Memoris","full_name":"jean553/Memoris","owner":{"login":"jean553","id":8011398,"avatar_url":"https://avatars.githubusercontent.com/u/8011398?v=3","gravatar_id":"","url":"https://api.github.com/users/jean553","html_url":"https://github.com/jean553","followers_url":"https://api.github.com/users/jean553/followers","following_url":"https://api.github.com/users/jean553/following{/other_user}","gists_url":"https://api.github.com/users/jean553/gists{/gist_id}","starred_url":"https://api.github.com/users/jean553/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean553/subscriptions","organizations_url":"https://api.github.com/users/jean553/orgs","repos_url":"https://api.github.com/users/jean553/repos","events_url":"https://api.github.com/users/jean553/events{/privacy}","received_events_url":"https://api.github.com/users/jean553/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jean553/Memoris","description":"Memoris is a 2D graphical video game developped in C++ using the SFML media library.","fork":false,"url":"https://api.github.com/repos/jean553/Memoris","forks_url":"https://api.github.com/repos/jean553/Memoris/forks","keys_url":"https://api.github.com/repos/jean553/Memoris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jean553/Memoris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jean553/Memoris/teams","hooks_url":"https://api.github.com/repos/jean553/Memoris/hooks","issue_events_url":"https://api.github.com/repos/jean553/Memoris/issues/events{/number}","events_url":"https://api.github.com/repos/jean553/Memoris/events","assignees_url":"https://api.github.com/repos/jean553/Memoris/assignees{/user}","branches_url":"https://api.github.com/repos/jean553/Memoris/branches{/branch}","tags_url":"https://api.github.com/repos/jean553/Memoris/tags","blobs_url":"https://api.github.com/repos/jean553/Memoris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jean553/Memoris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jean553/Memoris/git/refs{/sha}","trees_url":"https://api.github.com/repos/jean553/Memoris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jean553/Memoris/statuses/{sha}","languages_url":"https://api.github.com/repos/jean553/Memoris/languages","stargazers_url":"https://api.github.com/repos/jean553/Memoris/stargazers","contributors_url":"https://api.github.com/repos/jean553/Memoris/contributors","subscribers_url":"https://api.github.com/repos/jean553/Memoris/subscribers","subscription_url":"https://api.github.com/repos/jean553/Memoris/subscription","commits_url":"https://api.github.com/repos/jean553/Memoris/commits{/sha}","git_commits_url":"https://api.github.com/repos/jean553/Memoris/git/commits{/sha}","comments_url":"https://api.github.com/repos/jean553/Memoris/comments{/number}","issue_comment_url":"https://api.github.com/repos/jean553/Memoris/issues/comments{/number}","contents_url":"https://api.github.com/repos/jean553/Memoris/contents/{+path}","compare_url":"https://api.github.com/repos/jean553/Memoris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jean553/Memoris/merges","archive_url":"https://api.github.com/repos/jean553/Memoris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jean553/Memoris/downloads","issues_url":"https://api.github.com/repos/jean553/Memoris/issues{/number}","pulls_url":"https://api.github.com/repos/jean553/Memoris/pulls{/number}","milestones_url":"https://api.github.com/repos/jean553/Memoris/milestones{/number}","notifications_url":"https://api.github.com/repos/jean553/Memoris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jean553/Memoris/labels{/name}","releases_url":"https://api.github.com/repos/jean553/Memoris/releases{/id}","created_at":"2015-04-06T16:07:52Z","updated_at":"2015-05-05T16:11:04Z","pushed_at":"2015-07-23T05:08:42Z","git_url":"git://github.com/jean553/Memoris.git","ssh_url":"git@github.com:jean553/Memoris.git","clone_url":"https://github.com/jean553/Memoris.git","svn_url":"https://github.com/jean553/Memoris","homepage":"","size":11356,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"jean553:master","ref":"master","sha":"286c79bd385e9832a0a99f3fc2caac3a128de4ab","user":{"login":"jean553","id":8011398,"avatar_url":"https://avatars.githubusercontent.com/u/8011398?v=3","gravatar_id":"","url":"https://api.github.com/users/jean553","html_url":"https://github.com/jean553","followers_url":"https://api.github.com/users/jean553/followers","following_url":"https://api.github.com/users/jean553/following{/other_user}","gists_url":"https://api.github.com/users/jean553/gists{/gist_id}","starred_url":"https://api.github.com/users/jean553/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean553/subscriptions","organizations_url":"https://api.github.com/users/jean553/orgs","repos_url":"https://api.github.com/users/jean553/repos","events_url":"https://api.github.com/users/jean553/events{/privacy}","received_events_url":"https://api.github.com/users/jean553/received_events","type":"User","site_admin":false},"repo":{"id":33491186,"name":"Memoris","full_name":"jean553/Memoris","owner":{"login":"jean553","id":8011398,"avatar_url":"https://avatars.githubusercontent.com/u/8011398?v=3","gravatar_id":"","url":"https://api.github.com/users/jean553","html_url":"https://github.com/jean553","followers_url":"https://api.github.com/users/jean553/followers","following_url":"https://api.github.com/users/jean553/following{/other_user}","gists_url":"https://api.github.com/users/jean553/gists{/gist_id}","starred_url":"https://api.github.com/users/jean553/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean553/subscriptions","organizations_url":"https://api.github.com/users/jean553/orgs","repos_url":"https://api.github.com/users/jean553/repos","events_url":"https://api.github.com/users/jean553/events{/privacy}","received_events_url":"https://api.github.com/users/jean553/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jean553/Memoris","description":"Memoris is a 2D graphical video game developped in C++ using the SFML media library.","fork":false,"url":"https://api.github.com/repos/jean553/Memoris","forks_url":"https://api.github.com/repos/jean553/Memoris/forks","keys_url":"https://api.github.com/repos/jean553/Memoris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jean553/Memoris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jean553/Memoris/teams","hooks_url":"https://api.github.com/repos/jean553/Memoris/hooks","issue_events_url":"https://api.github.com/repos/jean553/Memoris/issues/events{/number}","events_url":"https://api.github.com/repos/jean553/Memoris/events","assignees_url":"https://api.github.com/repos/jean553/Memoris/assignees{/user}","branches_url":"https://api.github.com/repos/jean553/Memoris/branches{/branch}","tags_url":"https://api.github.com/repos/jean553/Memoris/tags","blobs_url":"https://api.github.com/repos/jean553/Memoris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jean553/Memoris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jean553/Memoris/git/refs{/sha}","trees_url":"https://api.github.com/repos/jean553/Memoris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jean553/Memoris/statuses/{sha}","languages_url":"https://api.github.com/repos/jean553/Memoris/languages","stargazers_url":"https://api.github.com/repos/jean553/Memoris/stargazers","contributors_url":"https://api.github.com/repos/jean553/Memoris/contributors","subscribers_url":"https://api.github.com/repos/jean553/Memoris/subscribers","subscription_url":"https://api.github.com/repos/jean553/Memoris/subscription","commits_url":"https://api.github.com/repos/jean553/Memoris/commits{/sha}","git_commits_url":"https://api.github.com/repos/jean553/Memoris/git/commits{/sha}","comments_url":"https://api.github.com/repos/jean553/Memoris/comments{/number}","issue_comment_url":"https://api.github.com/repos/jean553/Memoris/issues/comments{/number}","contents_url":"https://api.github.com/repos/jean553/Memoris/contents/{+path}","compare_url":"https://api.github.com/repos/jean553/Memoris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jean553/Memoris/merges","archive_url":"https://api.github.com/repos/jean553/Memoris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jean553/Memoris/downloads","issues_url":"https://api.github.com/repos/jean553/Memoris/issues{/number}","pulls_url":"https://api.github.com/repos/jean553/Memoris/pulls{/number}","milestones_url":"https://api.github.com/repos/jean553/Memoris/milestones{/number}","notifications_url":"https://api.github.com/repos/jean553/Memoris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jean553/Memoris/labels{/name}","releases_url":"https://api.github.com/repos/jean553/Memoris/releases{/id}","created_at":"2015-04-06T16:07:52Z","updated_at":"2015-05-05T16:11:04Z","pushed_at":"2015-07-23T05:08:42Z","git_url":"git://github.com/jean553/Memoris.git","ssh_url":"git@github.com:jean553/Memoris.git","clone_url":"https://github.com/jean553/Memoris.git","svn_url":"https://github.com/jean553/Memoris","homepage":"","size":11356,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jean553/Memoris/pulls/112"},"html":{"href":"https://github.com/jean553/Memoris/pull/112"},"issue":{"href":"https://api.github.com/repos/jean553/Memoris/issues/112"},"comments":{"href":"https://api.github.com/repos/jean553/Memoris/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/jean553/Memoris/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/jean553/Memoris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jean553/Memoris/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/jean553/Memoris/statuses/80eb825e700ed076bd3ee8cabfed8cd8b3eaec20"}}}}