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

Implement streaming for downloads and file systems #2072

Merged
merged 3 commits into from
Jul 14, 2023

Conversation

jonatanklosko
Copy link
Member

Adds support for multipart-download from URLs and chunked read/write for the file system abstraction.

Comment on lines 229 to 233
defp copy_regular_file(source, destination) do
with {:ok, content} <- read(source) do
write(destination, content)
with {:ok, _} <- read_stream_into(source, destination) do
:ok
end
end
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tl;dr :D

@github-actions
Copy link

github-actions bot commented Jul 14, 2023

Uffizzi Preview deployment-30975 was deleted.

jonatanklosko and others added 2 commits July 14, 2023 22:07
Co-authored-by: José Valim <jose.valim@dashbit.co>
@jonatanklosko jonatanklosko merged commit 19a5124 into main Jul 14, 2023
7 checks passed
@jonatanklosko jonatanklosko deleted the jk-files-streams branch July 14, 2023 20:16
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.

None yet

2 participants