mirror of
https://gitea.home.endeavr.de/Marcel/Tarstats-pp.git
synced 2025-12-10 00:39:01 +01:00
this successfully implememted gz parsing.
This commit is contained in:
@@ -17,8 +17,9 @@ namespace tarconstant {
|
||||
inline std::string const typeHard = "HARDLINKS";
|
||||
inline std::string const typeOther = "OTHER";
|
||||
|
||||
// valid magicfield
|
||||
inline std::string const mgcfield = "ustar";
|
||||
// valid magicfield tar
|
||||
inline std::string const mgctar = "ustar";
|
||||
inline constexpr char mgcgzip = '\213';
|
||||
|
||||
// Byte offsets
|
||||
inline uint16_t blocksize = 512; // tar consists of continuous 512 Byte data blocks
|
||||
|
||||
Reference in New Issue
Block a user