Skip to content

Add Compression best practices guide#52968

Draft
alinpahontu2912 wants to merge 2 commits intodotnet:mainfrom
alinpahontu2912:zip_tar_bestpractices
Draft

Add Compression best practices guide#52968
alinpahontu2912 wants to merge 2 commits intodotnet:mainfrom
alinpahontu2912:zip_tar_bestpractices

Conversation

@alinpahontu2912
Copy link
Copy Markdown
Member

@alinpahontu2912 alinpahontu2912 commented Apr 10, 2026

Summary

Add a guide explaining how to best work with Zip and Tar archives in .NET.


Internal previews

📄 File 🔗 Preview link
docs/fundamentals/toc.yml docs/fundamentals/toc
docs/standard/io/zip-tar-best-practices.md Best practices for working with ZIP and TAR archives in .NET

Comment on lines +134 to +136
// ZIP uses a convention where directory entries have names ending in '/'.
// Path.GetFileName returns empty for these, so we use that to
// distinguish directories from files.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this coming from the specification?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants