Skip to content

feat: archive use WHATWG stream - #1855

Closed
gliheng wants to merge 1 commit into
denoland:mainfrom
gliheng:tar-stream
Closed

feat: archive use WHATWG stream#1855
gliheng wants to merge 1 commit into
denoland:mainfrom
gliheng:tar-stream

Conversation

@gliheng

@gliheng gliheng commented Jan 27, 2022

Copy link
Copy Markdown

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

CLAassistant commented Jan 27, 2022

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@crowlKats

crowlKats commented Jan 27, 2022

Copy link
Copy Markdown
Member

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

@gliheng

gliheng commented Jan 27, 2022

Copy link
Copy Markdown
Author

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
Copy Markdown
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