RecursiveExtractor icon indicating copy to clipboard operation
RecursiveExtractor copied to clipboard

On .NET 7+ use System.Formats.Tar

Open gfs opened this issue 3 years ago • 2 comments

https://learn.microsoft.com/en-us/dotnet/api/system.formats.tar?view=net-7.0

gfs avatar Nov 11 '22 03:11 gfs

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.

gfs avatar Dec 22 '22 02:12 gfs

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.

gfs avatar Dec 22 '22 16:12 gfs