Skip to content

Commit 8999c11

Browse files
opoplawskiChangaco
authored andcommitted
add zstd support (#90)
1 parent 388494f commit 8999c11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libarchive/ffi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def ffi(name, argtypes, restype, errcheck=None):
167167

168168
READ_FILTERS = set((
169169
'all', 'bzip2', 'compress', 'grzip', 'gzip', 'lrzip', 'lzip', 'lzma',
170-
'lzop', 'none', 'rpm', 'uu', 'xz', 'lz4'
170+
'lzop', 'none', 'rpm', 'uu', 'xz', 'lz4', 'zstd'
171171
))
172172
for f_name in list(READ_FILTERS):
173173
try:
@@ -229,7 +229,7 @@ def ffi(name, argtypes, restype, errcheck=None):
229229

230230
WRITE_FILTERS = set((
231231
'b64encode', 'bzip2', 'compress', 'grzip', 'gzip', 'lrzip', 'lzip', 'lzma',
232-
'lzop', 'uuencode', 'xz', 'lz4'
232+
'lzop', 'uuencode', 'xz', 'lz4', 'zstd'
233233
))
234234
for f_name in list(WRITE_FILTERS):
235235
try:

0 commit comments

Comments
 (0)