Added zstandard to squashfs info.

This commit is contained in:
2017-11-12 22:27:06 +00:00
parent 645e635351
commit e2aa79ca57

View File

@@ -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;