import/export: add support for zstd
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user