{"action":"created","issue":{"url":"https://api.github.com/repos/libuv/libuv/issues/350","labels_url":"https://api.github.com/repos/libuv/libuv/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/libuv/libuv/issues/350/comments","events_url":"https://api.github.com/repos/libuv/libuv/issues/350/events","html_url":"https://github.com/libuv/libuv/pull/350","id":75602143,"number":350,"title":"WIP: unix,win: add uv_homedir()","user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-05-12T13:28:32Z","updated_at":"2015-05-19T21:38:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libuv/libuv/pulls/350","html_url":"https://github.com/libuv/libuv/pull/350","diff_url":"https://github.com/libuv/libuv/pull/350.diff","patch_url":"https://github.com/libuv/libuv/pull/350.patch"},"body":"This is a first pass at implementing a `homedir()` function, per the discussion in https://github.com/iojs/io.js/pull/1670.\r\n\r\n@piscisaureus I'm running into a problem on the Windows side, where including `shlobj.h` (needed for `SHGetKnownFolderPath()`) is causing a ton of compiler errors. Any assistance would be much appreciated.\r\n\r\nAlso related to #11."},"comment":{"url":"https://api.github.com/repos/libuv/libuv/issues/comments/103674600","html_url":"https://github.com/libuv/libuv/pull/350#issuecomment-103674600","issue_url":"https://api.github.com/repos/libuv/libuv/issues/350","id":103674600,"user":{"login":"bnoordhuis","id":275871,"avatar_url":"https://avatars.githubusercontent.com/u/275871?v=3","gravatar_id":"","url":"https://api.github.com/users/bnoordhuis","html_url":"https://github.com/bnoordhuis","followers_url":"https://api.github.com/users/bnoordhuis/followers","following_url":"https://api.github.com/users/bnoordhuis/following{/other_user}","gists_url":"https://api.github.com/users/bnoordhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bnoordhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnoordhuis/subscriptions","organizations_url":"https://api.github.com/users/bnoordhuis/orgs","repos_url":"https://api.github.com/users/bnoordhuis/repos","events_url":"https://api.github.com/users/bnoordhuis/events{/privacy}","received_events_url":"https://api.github.com/users/bnoordhuis/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T21:38:13Z","updated_at":"2015-05-19T21:38:13Z","body":"None of the other APIs touch `len` on error.  I'd opt for consistency now and perhaps revise in v2.0.  Just return E2BIG if the result doesn't fit."}}