From e2aa79ca5709d3949cf619e2586a9ae915885041 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 12 Nov 2017 22:27:06 +0000 Subject: [PATCH] Added zstandard to squashfs info. --- DiscImageChef.Filesystems/Squash.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/DiscImageChef.Filesystems/Squash.cs b/DiscImageChef.Filesystems/Squash.cs index 573dbad7..336307e5 100644 --- a/DiscImageChef.Filesystems/Squash.cs +++ b/DiscImageChef.Filesystems/Squash.cs @@ -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;