dotnet / dotnet/dotnet-api-docs

ZipArchive documentation still mentions 2GB limit in Update mode

Đang mở Phù hợp với người mới
#12,167 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area-System.IO.Compression untriaged
Ngôn ngữ chính
C#
Star
949
Fork
1.7k
Merge trung bình
3 ngày 27 phút
Pull request đã merge (30 ngày)
49

Mô tả

### Type of issue

Outdated article

### Description

Many of the ZipArchive related pages mention the 2GB limit when Mode is set to Update.
I believe this has been resolved in .NET 10 and should be removed from all documentation.

As shown in the release notes below:

> the way entries are written to a ZipArchive when in Update mode has been optimized. Previously, all ZipArchiveEntry instances were loaded into memory and rewritten,

[.NET 10 Release Notes - Zip Performance](https://github.com/dotnet/core/blob/main/release-notes/10.0/preview/preview1/libraries.md#ziparchive-performance-and-memory-improvements)

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.io.compression.zipfileextensions.createentryfromfile?view=net-10.0#system-io-compression-zipfileextensions-createentryfromfile(system-io-compression-ziparchive-system-string-system-string-system-io-compression-compressionlevel)

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.IO.Compression/ZipFileExtensions.xml

### Document Version Independent Id

e4676cb1-22e3-0197-d0fc-2486a311fcc7

### Platform Id

492a107d-eaa4-fcf8-3475-11feb18f68ca

### Article author

@dotnet-bot

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với xml/System.IO.Compression/ZipFileExtensions.xml và xem lại ghi chú phát hành .NET 10 Zip Performance được liên kết. Tìm kiếm trong tài liệu API các trang ZipArchive khác đề cập đến giới hạn 2GB của Update-mode, sau đó xác minh rằng tất cả các tham chiếu đã lỗi thời đã được xóa và hướng dẫn còn lại là chính xác.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
csharp
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
72/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.