import/export: add support for zstd

This commit is contained in:
Luca Boccassi
2025-04-15 12:21:30 +01:00
parent b01f00e9c5
commit bd9c55ebe2
13 changed files with 169 additions and 15 deletions
+3
View File
@@ -152,6 +152,8 @@ int tar_strip_suffixes(const char *name, char **ret) {
e = endswith(name, ".tar.gz");
if (!e)
e = endswith(name, ".tar.bz2");
if (!e)
e = endswith(name, ".tar.zst");
if (!e)
e = endswith(name, ".tgz");
if (!e)
@@ -174,6 +176,7 @@ int raw_strip_suffixes(const char *p, char **ret) {
".xz\0"
".gz\0"
".bz2\0"
".zst\0"
".sysext.raw\0"
".confext.raw\0"
".raw\0"