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

Adds stream!/3 interface #34

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

warmwaffles
Copy link
Contributor

@warmwaffles warmwaffles commented May 29, 2024

This is a rough draft of what I think the stream implementation should be like. I do not know how I am going to test the error case where the file can not be found with any of the adapters. The exception happens in a supervised storage implementation that is inside of a macro for the adapter cases.

I'm looking for some feedback on this while I work through this.

Closes #33

lib/file_store.ex Outdated Show resolved Hide resolved
@warmwaffles
Copy link
Contributor Author

@rzane I'd like your input on this implementation thus far before I start hammering on it more.

@warmwaffles warmwaffles force-pushed the add-stream-interface branch 2 times, most recently from 1d2e0c1 to 834ea25 Compare June 12, 2024 02:45
@warmwaffles
Copy link
Contributor Author

@rzane I made some changes here. I still need to fix my local Minio and make sure the S3 adapter is working how I want it to.

This is a rough draft of what I think the stream implementation should
be like. I do not know how I am going to test the error case where the
file can not be found with any of the adapters. The exception happens in
a supervised storage implementation that is inside of a macro for the
adapter cases.
@warmwaffles
Copy link
Contributor Author

I will come back to this soooon.

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.

Add a File.stream! like interface
2 participants