[PR #174] [MERGED] Redo options #874

Open
opened 2026-01-29 22:17:57 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/174
Author: @adamhathcock
Created: 9/27/2016
Status: Merged
Merged: 9/28/2016
Merged by: @adamhathcock

Base: masterHead: redo_options


📝 Commits (6)

  • c4fde80 Create proper options objects to remove flags from API
  • 5dafcb0 Redo options classes
  • 177fc2a Flags were a better idea when I was younger. It's not clear though.
  • d715208 Helps if I rename everything
  • 260c0ee Add SaveTo overload for zip archives
  • 911e987 Merge branch 'master' into redo_options

📊 Changes

56 files changed (+686 additions, -677 deletions)

View changed files

📝 src/SharpCompress/Archives/AbstractArchive.cs (+12 -12)
📝 src/SharpCompress/Archives/AbstractWritableArchive.cs (+9 -8)
📝 src/SharpCompress/Archives/ArchiveFactory.cs (+16 -32)
📝 src/SharpCompress/Archives/GZip/GZipArchive.cs (+18 -52)
📝 src/SharpCompress/Archives/IArchiveEntryExtensions.cs (+15 -4)
📝 src/SharpCompress/Archives/IArchiveExtensions.cs (+3 -2)
📝 src/SharpCompress/Archives/IWritableArchive.cs (+2 -2)
📝 src/SharpCompress/Archives/IWritableArchiveExtensions.cs (+5 -28)
📝 src/SharpCompress/Archives/Rar/FileInfoRarArchiveVolume.cs (+9 -12)
📝 src/SharpCompress/Archives/Rar/FileInfoRarFilePart.cs (+3 -3)
📝 src/SharpCompress/Archives/Rar/RarArchive.cs (+30 -41)
📝 src/SharpCompress/Archives/Rar/RarArchiveVolumeFactory.cs (+6 -6)
📝 src/SharpCompress/Archives/Rar/StreamRarArchiveVolume.cs (+4 -4)
📝 src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs (+18 -51)
📝 src/SharpCompress/Archives/Tar/TarArchive.cs (+29 -59)
📝 src/SharpCompress/Archives/Zip/ZipArchive.cs (+34 -70)
src/SharpCompress/Common/CompressionInfo.cs (+0 -30)
📝 src/SharpCompress/Common/GZip/GZipVolume.cs (+4 -2)
📝 src/SharpCompress/Common/IEntry.Extensions.cs (+5 -4)
src/SharpCompress/Common/Options.cs (+0 -23)

...and 36 more files

📄 Description

Things have gotten nasty over the years so a minor refactor of options across the board is due as I have some time during a job transition.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/174 **Author:** [@adamhathcock](https://github.com/adamhathcock) **Created:** 9/27/2016 **Status:** ✅ Merged **Merged:** 9/28/2016 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `redo_options` --- ### 📝 Commits (6) - [`c4fde80`](https://github.com/adamhathcock/sharpcompress/commit/c4fde80c5e886256028260c80669bb319ececfee) Create proper options objects to remove flags from API - [`5dafcb0`](https://github.com/adamhathcock/sharpcompress/commit/5dafcb02d462daa8a9eb5a89be08fd38b40e1d3d) Redo options classes - [`177fc2a`](https://github.com/adamhathcock/sharpcompress/commit/177fc2a12cb84e75e7cf071eab8fc725dc7ddfc1) Flags were a better idea when I was younger. It's not clear though. - [`d715208`](https://github.com/adamhathcock/sharpcompress/commit/d71520808d7e3105e6cacd4b3a9c78856bf29255) Helps if I rename everything - [`260c0ee`](https://github.com/adamhathcock/sharpcompress/commit/260c0ee776eef2f758eece3ac49ca5abb73b5fe0) Add SaveTo overload for zip archives - [`911e987`](https://github.com/adamhathcock/sharpcompress/commit/911e9878bd902214abcc0b2ffb22b98454fc0c42) Merge branch 'master' into redo_options ### 📊 Changes **56 files changed** (+686 additions, -677 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Archives/AbstractArchive.cs` (+12 -12) 📝 `src/SharpCompress/Archives/AbstractWritableArchive.cs` (+9 -8) 📝 `src/SharpCompress/Archives/ArchiveFactory.cs` (+16 -32) 📝 `src/SharpCompress/Archives/GZip/GZipArchive.cs` (+18 -52) 📝 `src/SharpCompress/Archives/IArchiveEntryExtensions.cs` (+15 -4) 📝 `src/SharpCompress/Archives/IArchiveExtensions.cs` (+3 -2) 📝 `src/SharpCompress/Archives/IWritableArchive.cs` (+2 -2) 📝 `src/SharpCompress/Archives/IWritableArchiveExtensions.cs` (+5 -28) 📝 `src/SharpCompress/Archives/Rar/FileInfoRarArchiveVolume.cs` (+9 -12) 📝 `src/SharpCompress/Archives/Rar/FileInfoRarFilePart.cs` (+3 -3) 📝 `src/SharpCompress/Archives/Rar/RarArchive.cs` (+30 -41) 📝 `src/SharpCompress/Archives/Rar/RarArchiveVolumeFactory.cs` (+6 -6) 📝 `src/SharpCompress/Archives/Rar/StreamRarArchiveVolume.cs` (+4 -4) 📝 `src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs` (+18 -51) 📝 `src/SharpCompress/Archives/Tar/TarArchive.cs` (+29 -59) 📝 `src/SharpCompress/Archives/Zip/ZipArchive.cs` (+34 -70) ➖ `src/SharpCompress/Common/CompressionInfo.cs` (+0 -30) 📝 `src/SharpCompress/Common/GZip/GZipVolume.cs` (+4 -2) 📝 `src/SharpCompress/Common/IEntry.Extensions.cs` (+5 -4) ➖ `src/SharpCompress/Common/Options.cs` (+0 -23) _...and 36 more files_ </details> ### 📄 Description Things have gotten nasty over the years so a minor refactor of options across the board is due as I have some time during a job transition. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:17:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#874