{"action":"created","issue":{"url":"https://api.github.com/repos/chrisdone/path/issues/34","repository_url":"https://api.github.com/repos/chrisdone/path","labels_url":"https://api.github.com/repos/chrisdone/path/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/chrisdone/path/issues/34/comments","events_url":"https://api.github.com/repos/chrisdone/path/issues/34/events","html_url":"https://github.com/chrisdone/path/pull/34","id":167417438,"number":34,"title":"Allow . as a relative path","user":{"login":"harendra-kumar","id":5860491,"avatar_url":"https://avatars.githubusercontent.com/u/5860491?v=3","gravatar_id":"","url":"https://api.github.com/users/harendra-kumar","html_url":"https://github.com/harendra-kumar","followers_url":"https://api.github.com/users/harendra-kumar/followers","following_url":"https://api.github.com/users/harendra-kumar/following{/other_user}","gists_url":"https://api.github.com/users/harendra-kumar/gists{/gist_id}","starred_url":"https://api.github.com/users/harendra-kumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harendra-kumar/subscriptions","organizations_url":"https://api.github.com/users/harendra-kumar/orgs","repos_url":"https://api.github.com/users/harendra-kumar/repos","events_url":"https://api.github.com/users/harendra-kumar/events{/privacy}","received_events_url":"https://api.github.com/users/harendra-kumar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-25T17:10:33Z","updated_at":"2016-07-25T20:21:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chrisdone/path/pulls/34","html_url":"https://github.com/chrisdone/path/pull/34","diff_url":"https://github.com/chrisdone/path/pull/34.diff","patch_url":"https://github.com/chrisdone/path/pull/34.patch"},"body":"The discussion thread that I started for empty path finally boils down to this. A quick look at the changes in the tests will give you an idea about what it means to the library user. Let me know what you think about this. These are all the changes needed except for some doc tweaks if this gets accepted.\r\n\r\nIt essentially allows us to compose \".\" with other relative paths:\r\n>> toFilePath $ $(mkRelDir \"./\") </> $(mkRelDir \"./\")\r\n\"./\"\r\n>> toFilePath $ $(mkRelDir \"./\") </> $(mkRelDir \"x\")\r\n\"x/\"\r\n>> toFilePath $ $(mkRelDir \"x\") </> $(mkRelDir \".\")\r\n\"x/\"\r\n\r\nAlso dirname \".\" is \".\" itself:\r\n>> dirname $(mkRelDir \".\") == $(mkRelDir \".\")\r\nTrue"},"comment":{"url":"https://api.github.com/repos/chrisdone/path/issues/comments/235072447","html_url":"https://github.com/chrisdone/path/pull/34#issuecomment-235072447","issue_url":"https://api.github.com/repos/chrisdone/path/issues/34","id":235072447,"user":{"login":"chrisdone","id":11019,"avatar_url":"https://avatars.githubusercontent.com/u/11019?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdone","html_url":"https://github.com/chrisdone","followers_url":"https://api.github.com/users/chrisdone/followers","following_url":"https://api.github.com/users/chrisdone/following{/other_user}","gists_url":"https://api.github.com/users/chrisdone/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdone/subscriptions","organizations_url":"https://api.github.com/users/chrisdone/orgs","repos_url":"https://api.github.com/users/chrisdone/repos","events_url":"https://api.github.com/users/chrisdone/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdone/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T20:21:41Z","updated_at":"2016-07-25T20:21:41Z","body":"I'm not comfortable with `.` in general. \r\n\r\nBut I'll think about it, it seems reasonable on the surface."}}
{"actor":{"display_login":"chrisdone"}}