Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return *os.File from ContentStore.Get, close handle after usage #56

Closed
wants to merge 1 commit into from
Closed

Conversation

fabian-z
Copy link

In the current master, the file handle is never properly closed. This PR lets the ContentStore return a proper *os.File handle, making it possible to close it after usage.

@fabian-z
Copy link
Author

Oops, I overlooked #49 because of the Windows title. Closing here because returning an io.ReadCloser should be identical in functionality.

@fabian-z fabian-z closed this Nov 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant