mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Does the library support PAX tar? #682
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alex-b-123 on GitHub (Jun 9, 2025).
We're been using the library successfully for a while, but it's failing for a set of files, they are PAX tar files, and from inspection, it looks like the big entry has '0' for the size of the file, instead there's a PAX header with "19 size=<almost 8gb number here>". The number is under 8gb, so I'm not really sure why the file uses pax to store it, but the header says the file is 0 bytes, so the library fails.
However 'tar' command, 7zip, they can all untar the file, but the library can't.
If pax is currently not supported, any plan to extend it?
@adamhathcock commented on GitHub (Jun 10, 2025):
I've looked at it years ago but I have no plans to fully implement it. I was hoping to use another tar implementation and retrofit it for streaming needs.