Skip to content

Commit

Permalink
[fix] [#169] Can't auto-identify :zstd compressor when decompressing
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Feb 26, 2024
1 parent 40143e7 commit cb5b7cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/taoensso/nippy.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1707,6 +1707,7 @@
:snappy compression/snappy-compressor
:lzma2 lzma2-compressor
:lz4 lz4-compressor
:zstd zstd-compressor
:no-header (throw (ex-info ":auto not supported on headerless data." {}))
:else (throw (ex-info ":auto not supported for non-standard compressors." {}))
(do (throw (ex-info (str "Unrecognized :auto compressor id: " compressor-id)
Expand Down

0 comments on commit cb5b7cf

Please sign in to comment.