Files
sharpcompress/tests
copilot-swe-agent[bot] dd242cb1c5 Fix ExtractToDirectory to properly truncate existing files
Changed File.OpenWrite to File.Create to ensure files are truncated when extracting over existing files. File.OpenWrite does not truncate, leaving old data at the end if the new file is shorter.

Added test Zip_Deflate_ArchiveExtractToDirectory_Overwrite to verify the fix.

Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
2025-11-14 08:54:45 +00:00
..