{"action":"created","issue":{"url":"https://api.github.com/repos/Stebalien/tempfile/issues/20","labels_url":"https://api.github.com/repos/Stebalien/tempfile/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/Stebalien/tempfile/issues/20/comments","events_url":"https://api.github.com/repos/Stebalien/tempfile/issues/20/events","html_url":"https://github.com/Stebalien/tempfile/issues/20","id":124884181,"number":20,"title":"Why does TempFile not support access to the underlying File?","user":{"login":"reem","id":4745181,"avatar_url":"https://avatars.githubusercontent.com/u/4745181?v=3","gravatar_id":"","url":"https://api.github.com/users/reem","html_url":"https://github.com/reem","followers_url":"https://api.github.com/users/reem/followers","following_url":"https://api.github.com/users/reem/following{/other_user}","gists_url":"https://api.github.com/users/reem/gists{/gist_id}","starred_url":"https://api.github.com/users/reem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reem/subscriptions","organizations_url":"https://api.github.com/users/reem/orgs","repos_url":"https://api.github.com/users/reem/repos","events_url":"https://api.github.com/users/reem/events{/privacy}","received_events_url":"https://api.github.com/users/reem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-05T02:49:05Z","updated_at":"2016-01-05T16:35:51Z","closed_at":null,"body":"I don't care/want/need to persist the file since I am using it for testing, but I want to run operations that are defined on the File type specifically on the TempFile. I can make a PR for accessor methods if they are desired, but their absence seems intentional to me so I figured I'd ask first."},"comment":{"url":"https://api.github.com/repos/Stebalien/tempfile/issues/comments/169053380","html_url":"https://github.com/Stebalien/tempfile/issues/20#issuecomment-169053380","issue_url":"https://api.github.com/repos/Stebalien/tempfile/issues/20","id":169053380,"user":{"login":"Stebalien","id":310393,"avatar_url":"https://avatars.githubusercontent.com/u/310393?v=3","gravatar_id":"","url":"https://api.github.com/users/Stebalien","html_url":"https://github.com/Stebalien","followers_url":"https://api.github.com/users/Stebalien/followers","following_url":"https://api.github.com/users/Stebalien/following{/other_user}","gists_url":"https://api.github.com/users/Stebalien/gists{/gist_id}","starred_url":"https://api.github.com/users/Stebalien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stebalien/subscriptions","organizations_url":"https://api.github.com/users/Stebalien/orgs","repos_url":"https://api.github.com/users/Stebalien/repos","events_url":"https://api.github.com/users/Stebalien/events{/privacy}","received_events_url":"https://api.github.com/users/Stebalien/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T16:35:51Z","updated_at":"2016-01-05T16:35:51Z","body":"I swear I had a reason for this but I can't quite remember it. I think I did this to remain forwards compatible with rust in case extra methods that don't apply to tempfiles were added to `File` (this was back when `File` still had/had recently removed a path accessor method). However, there's actually no reason for `TempFile` to exist at all (it doesn't have a destructor) so I think I'll just replace it with a bare function (and remove `TempFile` in 2.0)."}}