{"action":"created","comment":{"url":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/comments/84578504","pull_request_review_id":5350437,"id":84578504,"diff_hunk":"@@ -0,0 +1,62 @@\n+package com.beachape\n+\n+/**\n+ * Created by arunavs on 9/27/16.\n+ *\n+ * This is a simple actor that can be used directly to send a message\n+ * whenever a dir is modified.\n+ *\n+ * It sends the changed dir message whenever changes happen to the\n+ * directory.\n+ */\n+\n+import java.nio.file.{ Path, Paths }\n+\n+import com.beachape.filemanagement.Messages.RegisterCallback\n+import com.beachape.filemanagement.MonitorActor\n+import com.beachape.filemanagement.RegistryTypes.Callback\n+import java.nio.file.StandardWatchEventKinds._\n+\n+import akka.actor.ActorRef\n+import com.beachape.FileSystemWatchActor.ChangedDir\n+\n+class FileSystemWatchActor(dirs: List[String], sendToActor: ActorRef) extends MonitorActor {","path":"src/main/scala/com/beachape/filemanagement/FileSystemWatchActor.scala","position":23,"original_position":23,"commit_id":"f9ab63614f59dae7002c29d675957f4b5402542e","original_commit_id":"f9ab63614f59dae7002c29d675957f4b5402542e","user":{"login":"lloydmeta","id":914805,"avatar_url":"https://avatars.githubusercontent.com/u/914805?v=3","gravatar_id":"","url":"https://api.github.com/users/lloydmeta","html_url":"https://github.com/lloydmeta","followers_url":"https://api.github.com/users/lloydmeta/followers","following_url":"https://api.github.com/users/lloydmeta/following{/other_user}","gists_url":"https://api.github.com/users/lloydmeta/gists{/gist_id}","starred_url":"https://api.github.com/users/lloydmeta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloydmeta/subscriptions","organizations_url":"https://api.github.com/users/lloydmeta/orgs","repos_url":"https://api.github.com/users/lloydmeta/repos","events_url":"https://api.github.com/users/lloydmeta/events{/privacy}","received_events_url":"https://api.github.com/users/lloydmeta/received_events","type":"User","site_admin":false},"body":"Thinking about it again, the naming of this actor is not very descriptive; it's in essence a message forwarding actor..","created_at":"2016-10-22T14:53:55Z","updated_at":"2016-10-22T14:54:08Z","html_url":"https://github.com/lloydmeta/schwatcher/pull/65#discussion_r84578504","pull_request_url":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/comments/84578504"},"html":{"href":"https://github.com/lloydmeta/schwatcher/pull/65#discussion_r84578504"},"pull_request":{"href":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/65","id":87055374,"html_url":"https://github.com/lloydmeta/schwatcher/pull/65","diff_url":"https://github.com/lloydmeta/schwatcher/pull/65.diff","patch_url":"https://github.com/lloydmeta/schwatcher/pull/65.patch","issue_url":"https://api.github.com/repos/lloydmeta/schwatcher/issues/65","number":65,"state":"open","locked":false,"title":"<Description> : Adding a file system watcher that sends messages when…","user":{"login":"Khalian","id":5463072,"avatar_url":"https://avatars.githubusercontent.com/u/5463072?v=3","gravatar_id":"","url":"https://api.github.com/users/Khalian","html_url":"https://github.com/Khalian","followers_url":"https://api.github.com/users/Khalian/followers","following_url":"https://api.github.com/users/Khalian/following{/other_user}","gists_url":"https://api.github.com/users/Khalian/gists{/gist_id}","starred_url":"https://api.github.com/users/Khalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khalian/subscriptions","organizations_url":"https://api.github.com/users/Khalian/orgs","repos_url":"https://api.github.com/users/Khalian/repos","events_url":"https://api.github.com/users/Khalian/events{/privacy}","received_events_url":"https://api.github.com/users/Khalian/received_events","type":"User","site_admin":false},"body":"Implementing https://github.com/lloydmeta/schwatcher/issues/64\r\n\r\nThis way consumers can directly use an actor for their FSWatch needs. ","created_at":"2016-09-28T05:06:43Z","updated_at":"2016-10-22T14:54:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a6ffca33de9bc8f33561973caaae4a06cae64aa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/65/commits","review_comments_url":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/65/comments","review_comment_url":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lloydmeta/schwatcher/issues/65/comments","statuses_url":"https://api.github.com/repos/lloydmeta/schwatcher/statuses/f9ab63614f59dae7002c29d675957f4b5402542e","head":{"label":"Khalian:master","ref":"master","sha":"f9ab63614f59dae7002c29d675957f4b5402542e","user":{"login":"Khalian","id":5463072,"avatar_url":"https://avatars.githubusercontent.com/u/5463072?v=3","gravatar_id":"","url":"https://api.github.com/users/Khalian","html_url":"https://github.com/Khalian","followers_url":"https://api.github.com/users/Khalian/followers","following_url":"https://api.github.com/users/Khalian/following{/other_user}","gists_url":"https://api.github.com/users/Khalian/gists{/gist_id}","starred_url":"https://api.github.com/users/Khalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khalian/subscriptions","organizations_url":"https://api.github.com/users/Khalian/orgs","repos_url":"https://api.github.com/users/Khalian/repos","events_url":"https://api.github.com/users/Khalian/events{/privacy}","received_events_url":"https://api.github.com/users/Khalian/received_events","type":"User","site_admin":false},"repo":{"id":69426206,"name":"schwatcher","full_name":"Khalian/schwatcher","owner":{"login":"Khalian","id":5463072,"avatar_url":"https://avatars.githubusercontent.com/u/5463072?v=3","gravatar_id":"","url":"https://api.github.com/users/Khalian","html_url":"https://github.com/Khalian","followers_url":"https://api.github.com/users/Khalian/followers","following_url":"https://api.github.com/users/Khalian/following{/other_user}","gists_url":"https://api.github.com/users/Khalian/gists{/gist_id}","starred_url":"https://api.github.com/users/Khalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khalian/subscriptions","organizations_url":"https://api.github.com/users/Khalian/orgs","repos_url":"https://api.github.com/users/Khalian/repos","events_url":"https://api.github.com/users/Khalian/events{/privacy}","received_events_url":"https://api.github.com/users/Khalian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Khalian/schwatcher","description":"File-watching library for Scala. Built on Java 7's WatchService, RxScala and Akka actors.","fork":true,"url":"https://api.github.com/repos/Khalian/schwatcher","forks_url":"https://api.github.com/repos/Khalian/schwatcher/forks","keys_url":"https://api.github.com/repos/Khalian/schwatcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Khalian/schwatcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Khalian/schwatcher/teams","hooks_url":"https://api.github.com/repos/Khalian/schwatcher/hooks","issue_events_url":"https://api.github.com/repos/Khalian/schwatcher/issues/events{/number}","events_url":"https://api.github.com/repos/Khalian/schwatcher/events","assignees_url":"https://api.github.com/repos/Khalian/schwatcher/assignees{/user}","branches_url":"https://api.github.com/repos/Khalian/schwatcher/branches{/branch}","tags_url":"https://api.github.com/repos/Khalian/schwatcher/tags","blobs_url":"https://api.github.com/repos/Khalian/schwatcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Khalian/schwatcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Khalian/schwatcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/Khalian/schwatcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Khalian/schwatcher/statuses/{sha}","languages_url":"https://api.github.com/repos/Khalian/schwatcher/languages","stargazers_url":"https://api.github.com/repos/Khalian/schwatcher/stargazers","contributors_url":"https://api.github.com/repos/Khalian/schwatcher/contributors","subscribers_url":"https://api.github.com/repos/Khalian/schwatcher/subscribers","subscription_url":"https://api.github.com/repos/Khalian/schwatcher/subscription","commits_url":"https://api.github.com/repos/Khalian/schwatcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/Khalian/schwatcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/Khalian/schwatcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/Khalian/schwatcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/Khalian/schwatcher/contents/{+path}","compare_url":"https://api.github.com/repos/Khalian/schwatcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Khalian/schwatcher/merges","archive_url":"https://api.github.com/repos/Khalian/schwatcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Khalian/schwatcher/downloads","issues_url":"https://api.github.com/repos/Khalian/schwatcher/issues{/number}","pulls_url":"https://api.github.com/repos/Khalian/schwatcher/pulls{/number}","milestones_url":"https://api.github.com/repos/Khalian/schwatcher/milestones{/number}","notifications_url":"https://api.github.com/repos/Khalian/schwatcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Khalian/schwatcher/labels{/name}","releases_url":"https://api.github.com/repos/Khalian/schwatcher/releases{/id}","deployments_url":"https://api.github.com/repos/Khalian/schwatcher/deployments","created_at":"2016-09-28T04:40:13Z","updated_at":"2016-09-28T04:40:14Z","pushed_at":"2016-09-28T05:05:25Z","git_url":"git://github.com/Khalian/schwatcher.git","ssh_url":"git@github.com:Khalian/schwatcher.git","clone_url":"https://github.com/Khalian/schwatcher.git","svn_url":"https://github.com/Khalian/schwatcher","homepage":"","size":245,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"lloydmeta:master","ref":"master","sha":"85e28e43b83f247946504cfdecfda8be45e279dc","user":{"login":"lloydmeta","id":914805,"avatar_url":"https://avatars.githubusercontent.com/u/914805?v=3","gravatar_id":"","url":"https://api.github.com/users/lloydmeta","html_url":"https://github.com/lloydmeta","followers_url":"https://api.github.com/users/lloydmeta/followers","following_url":"https://api.github.com/users/lloydmeta/following{/other_user}","gists_url":"https://api.github.com/users/lloydmeta/gists{/gist_id}","starred_url":"https://api.github.com/users/lloydmeta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloydmeta/subscriptions","organizations_url":"https://api.github.com/users/lloydmeta/orgs","repos_url":"https://api.github.com/users/lloydmeta/repos","events_url":"https://api.github.com/users/lloydmeta/events{/privacy}","received_events_url":"https://api.github.com/users/lloydmeta/received_events","type":"User","site_admin":false},"repo":{"id":11504660,"name":"schwatcher","full_name":"lloydmeta/schwatcher","owner":{"login":"lloydmeta","id":914805,"avatar_url":"https://avatars.githubusercontent.com/u/914805?v=3","gravatar_id":"","url":"https://api.github.com/users/lloydmeta","html_url":"https://github.com/lloydmeta","followers_url":"https://api.github.com/users/lloydmeta/followers","following_url":"https://api.github.com/users/lloydmeta/following{/other_user}","gists_url":"https://api.github.com/users/lloydmeta/gists{/gist_id}","starred_url":"https://api.github.com/users/lloydmeta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloydmeta/subscriptions","organizations_url":"https://api.github.com/users/lloydmeta/orgs","repos_url":"https://api.github.com/users/lloydmeta/repos","events_url":"https://api.github.com/users/lloydmeta/events{/privacy}","received_events_url":"https://api.github.com/users/lloydmeta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lloydmeta/schwatcher","description":"File-watching library for Scala. Built on Java 7's WatchService, RxScala and Akka actors.","fork":false,"url":"https://api.github.com/repos/lloydmeta/schwatcher","forks_url":"https://api.github.com/repos/lloydmeta/schwatcher/forks","keys_url":"https://api.github.com/repos/lloydmeta/schwatcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lloydmeta/schwatcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lloydmeta/schwatcher/teams","hooks_url":"https://api.github.com/repos/lloydmeta/schwatcher/hooks","issue_events_url":"https://api.github.com/repos/lloydmeta/schwatcher/issues/events{/number}","events_url":"https://api.github.com/repos/lloydmeta/schwatcher/events","assignees_url":"https://api.github.com/repos/lloydmeta/schwatcher/assignees{/user}","branches_url":"https://api.github.com/repos/lloydmeta/schwatcher/branches{/branch}","tags_url":"https://api.github.com/repos/lloydmeta/schwatcher/tags","blobs_url":"https://api.github.com/repos/lloydmeta/schwatcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lloydmeta/schwatcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lloydmeta/schwatcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/lloydmeta/schwatcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lloydmeta/schwatcher/statuses/{sha}","languages_url":"https://api.github.com/repos/lloydmeta/schwatcher/languages","stargazers_url":"https://api.github.com/repos/lloydmeta/schwatcher/stargazers","contributors_url":"https://api.github.com/repos/lloydmeta/schwatcher/contributors","subscribers_url":"https://api.github.com/repos/lloydmeta/schwatcher/subscribers","subscription_url":"https://api.github.com/repos/lloydmeta/schwatcher/subscription","commits_url":"https://api.github.com/repos/lloydmeta/schwatcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/lloydmeta/schwatcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/lloydmeta/schwatcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/lloydmeta/schwatcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/lloydmeta/schwatcher/contents/{+path}","compare_url":"https://api.github.com/repos/lloydmeta/schwatcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lloydmeta/schwatcher/merges","archive_url":"https://api.github.com/repos/lloydmeta/schwatcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lloydmeta/schwatcher/downloads","issues_url":"https://api.github.com/repos/lloydmeta/schwatcher/issues{/number}","pulls_url":"https://api.github.com/repos/lloydmeta/schwatcher/pulls{/number}","milestones_url":"https://api.github.com/repos/lloydmeta/schwatcher/milestones{/number}","notifications_url":"https://api.github.com/repos/lloydmeta/schwatcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lloydmeta/schwatcher/labels{/name}","releases_url":"https://api.github.com/repos/lloydmeta/schwatcher/releases{/id}","deployments_url":"https://api.github.com/repos/lloydmeta/schwatcher/deployments","created_at":"2013-07-18T14:18:33Z","updated_at":"2016-09-28T04:38:20Z","pushed_at":"2016-09-28T05:06:43Z","git_url":"git://github.com/lloydmeta/schwatcher.git","ssh_url":"git@github.com:lloydmeta/schwatcher.git","clone_url":"https://github.com/lloydmeta/schwatcher.git","svn_url":"https://github.com/lloydmeta/schwatcher","homepage":"","size":247,"stargazers_count":83,"watchers_count":83,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":3,"forks":16,"open_issues":3,"watchers":83,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/65"},"html":{"href":"https://github.com/lloydmeta/schwatcher/pull/65"},"issue":{"href":"https://api.github.com/repos/lloydmeta/schwatcher/issues/65"},"comments":{"href":"https://api.github.com/repos/lloydmeta/schwatcher/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lloydmeta/schwatcher/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/lloydmeta/schwatcher/statuses/f9ab63614f59dae7002c29d675957f4b5402542e"}}}}
{"actor":{"display_login":"lloydmeta"}}