1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:17:44 +00:00

tar: Implement support for GNU longname headers

This commit is contained in:
Tim Schumacher 2022-06-06 18:17:45 +02:00 committed by Linus Groh
parent b4e409f721
commit 87da3e0004
2 changed files with 25 additions and 3 deletions

View file

@ -26,7 +26,10 @@ enum class TarFileType : char {
FIFO = '6',
ContiguousFile = '7',
GlobalExtendedHeader = 'g',
ExtendedHeader = 'x'
ExtendedHeader = 'x',
// GNU extensions
LongName = 'L',
};
constexpr size_t block_size = 512;