diff options
author | Elvis Angelaccio <elvis.angelaccio@kde.org> | 2018-09-16 11:42:58 +0200 |
---|---|---|
committer | Elvis Angelaccio <elvis.angelaccio@kde.org> | 2018-10-21 14:48:54 +0200 |
commit | ac14acb98b732b112280089d3a4b5085583db33f (patch) | |
tree | cce8af552dc25406c3beb6049bc77e9598b29513 | |
parent | 5d1c0a63d3de30e590711390323de4b2a49dfcfb (diff) | |
download | shared-mime-info-ac14acb98b732b112280089d3a4b5085583db33f.tar.gz |
Add application/zstd IANA type
https://bugs.freedesktop.org/show_bug.cgi?id=107282
Upstream page: https://facebook.github.io/zstd/
Magic number documented at:
https://github.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md#zstandard-frames
-rw-r--r-- | freedesktop.org.xml.in | 8 | ||||
-rw-r--r-- | tests/list | 2 | ||||
-rw-r--r-- | tests/test.zst | bin | 0 -> 491 bytes |
3 files changed, 10 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index e45ea209..cd9e2975 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -3908,6 +3908,14 @@ command to generate the output files. <glob pattern="*.tar.xz"/> <glob pattern="*.txz"/> </mime-type> + <mime-type type="application/zstd"> + <_comment>Zstandard archive</_comment> + <generic-icon name="package-x-generic"/> + <magic priority="60"> + <match type="little32" value="0xFD2FB528" offset="0"/> + </magic> + <glob pattern="*.zst"/> + </mime-type> <mime-type type="application/x-xzpdf"> <_comment>PDF document (XZ-compressed)</_comment> <sub-class-of type="application/x-xz"/> @@ -414,6 +414,8 @@ archive.lrz application/x-lrzip test.lz4 application/x-lz4 # Created using Ark 16.07.70 + libarchive 3.2.0 test.tar.lz4 application/x-lz4-compressed-tar ox +# Created by zstd v1.3.5 +test.zst application/zstd # Copied from http://download.microsoft.com/download/7/e/5/7e58b1ce-d9e6-40e1-9d75-140fe5dd3de6/fuji.themepack fuji.themepack application/x-windows-themepack ox # Extracted from http://mozilla.doslash.org/stuff/helloworld.zip diff --git a/tests/test.zst b/tests/test.zst Binary files differnew file mode 100644 index 00000000..49f0b05d --- /dev/null +++ b/tests/test.zst |