RecursiveExtractor
RecursiveExtractor copied to clipboard
On .NET 7+ use System.Formats.Tar
https://learn.microsoft.com/en-us/dotnet/api/system.formats.tar?view=net-7.0
I did a quick test of this and System.Formats.Tar extracts in many cases fewer files than our existing implementation. Would require additional research to figure out which implementation is "correct" and how to make the behaviors match. Seems less trivial than I'd like.
It is however very easy to use this API to implement so it that portion is not a large lift.
Next step could be to examine the test tar tar that has either 5 or 6 files depending on the api called to figure out which is correct.