microsoft / RecursiveExtractor

RecursiveExtractor is a .NET Standard 2.0 archive extraction Library, and Command Line Tool which can process 7zip, ar, bzip2, deb, gzip, iso, rar, tar, vhd, vhdx, vmdk, wim, xzip, and zip archives and any nested combination of the supported formats.
MIT License
194 stars 29 forks source link

Harmonize Using/PassThroughStream Arguments in Extractors #154

Open gfs opened 6 months ago

gfs commented 6 months ago

Some Extractors use the using pattern on StreamFactory.GetAppropriateBackingStream and some use passthrough stream on a created FileEntry and rely on the finalizer to clean up the stream. We should harmonize all extractors on a single scheme for this wherever possible.