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

feat: archive use WHATWG stream #1855

Closed
wants to merge 1 commit into from
Closed

Conversation

gliheng
Copy link

@gliheng gliheng commented Jan 27, 2022

This is an initial version that implements WHATWG archive stream referred in this issue #1658
A TarEncoderStream and TarDecoderStream is provided.
I'll add more tests this weekend.

I don't know if this stream version should replace the original Tar Untar class or not. So it's kept in separate file for now.

@CLAassistant
Copy link

CLAassistant commented Jan 27, 2022

CLA assistant check
All committers have signed the CLA.

@crowlKats
Copy link
Member

crowlKats commented Jan 27, 2022

I have been working on this myself actually.
Discussed with @lucacasonato, and we agree it shouldnt use the Deno namespace whatsoever

@gliheng
Copy link
Author

gliheng commented Jan 27, 2022

File's content added to TarEncoderStream is still a Reader. Do you mean that need to change into a stream as well?

@crowlKats
Copy link
Member

@gliheng yes. There should be no reference to the Deno namespace whatsoever.

@gliheng gliheng closed this Mar 19, 2022
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.

3 participants