mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added zstandard to squashfs info.
This commit is contained in:
@@ -73,7 +73,8 @@ namespace DiscImageChef.Filesystems
|
||||
Lzma = 2,
|
||||
Lzo = 3,
|
||||
Xz = 4,
|
||||
Lz4 = 5
|
||||
Lz4 = 5,
|
||||
Zstd = 6
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
@@ -168,6 +169,9 @@ namespace DiscImageChef.Filesystems
|
||||
case (ushort)SquashCompression.Zlib:
|
||||
sbInformation.AppendLine("Volume is compressed using GZIP");
|
||||
break;
|
||||
case (ushort)SquashCompression.Zstd:
|
||||
sbInformation.AppendLine("Volume is compressed using Zstandard");
|
||||
break;
|
||||
default:
|
||||
sbInformation.AppendFormat("Volume is compressed using unknown algorithm {0}", sqSb.compression).AppendLine();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user