Skip to content

Added ability to leave tar archive open after stream is closed - #337

Merged
adamhathcock merged 4 commits into
adamhathcock:masterfrom
4ybaka:issue-323-tar-archive-finalization
Jan 14, 2018
Merged

adamhathcock merged 4 commits into
adamhathcock:masterfrom
4ybaka:issue-323-tar-archive-finalization

Conversation

@4ybaka

@4ybaka 4ybaka commented Jan 4, 2018 •

Copy link
Copy Markdown
Contributor

I'm not sure if this flag should be included in WriterOptions since no other archives could support it. Moreover zip archive also has finalization logic but there is no sense to leave it open since it is not possible to resume zip archive writing (correct me if I'm wrong and I'll move this flag to WriterOptions).

If there are no objections with this approach - I'll add tests for these changes.
Related to #323

@adamhathcock

Copy link
Copy Markdown
Owner

I think the option should be on TarWriterOptions like there is a ZipWriterOptions

@4ybaka

4ybaka commented Jan 12, 2018

Copy link
Copy Markdown
Contributor Author

Moved to TarWriterOptions and added tests.

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.

2 participants