diff options
author | Emery Hemingway <ehmry@posteo.net> | 2023-08-02 11:53:33 +0100 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2023-08-17 09:01:28 +0100 |
commit | 12b5573214ee11a3f0abe5004e21bbefc5dbaf9b (patch) | |
tree | c7d3149416e20301f6f462a5c63b9023eecaeb49 | |
parent | 0fd7d1f1db04152570b845778313fd198b6460af (diff) |
Add mimetype for ERIS link files
https://eris.codeberg.page/eer/linkfile.xml
-rw-r--r-- | data/freedesktop.org.xml.in | 10 | ||||
-rw-r--r-- | tests/mime-detection/list | 6 | ||||
-rw-r--r-- | tests/mime-detection/test.eris | 1 |
3 files changed, 16 insertions, 1 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 0772147..08a3976 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -8075,4 +8075,14 @@ command to generate the output files. <expanded-acronym>Concise Binary Object Representation</expanded-acronym> <glob pattern="*.cbor"/> </mime-type> + <mime-type type="application/x-eris-link+cbor"> + <comment>ERIS Link</comment> + <acronym>ERIS</acronym> + <expanded-acronym>Encoding for Robust Immutable Storage</expanded-acronym> + <sub-class-of type="application/cbor"/> + <glob pattern="*.eris"/> + <magic priority="90"> + <match type="string" value="\xD9\xD9\xF7\x84\xD9\x01\x14\x58\x42" offset="0"/> + </magic> + </mime-type> </mime-info> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 1414992..6a2f85d 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -941,4 +941,8 @@ test.qs application/sparql-query test.srx application/sparql-results+xml ox # Modrinth Modpack -test.mrpack application/x-modrinth-modpack+zip ox
\ No newline at end of file +test.mrpack application/x-modrinth-modpack+zip ox + +# ERIS link file +# https://eris.codeberg.page/eer/linkfile.xml +test.eris application/x-eris-link+cbor diff --git a/tests/mime-detection/test.eris b/tests/mime-detection/test.eris new file mode 100644 index 0000000..47a8429 --- /dev/null +++ b/tests/mime-detection/test.eris @@ -0,0 +1 @@ +XBj<?0XcL`ނ4ŝ:^EfɊtc]U:"c^xZ{Vivideo/mp4
\ No newline at end of file |