Closed RonCruz closed 10 months ago
Hi @RonCruz , can we use the pure java implementation aircompressor ? because the JNI implementation will bring every platform's native libraries , that cause the packed plugin size to be huge.
@Camork Sure. I've pushed a change to migrate away from ztsd-jni to your suggested library.
Merged to master, I had mixed up archiver and compressor before, I need to refactor the code so that it can auto-detect the compressor and archiver by it's metadata, not only the file name.
The following changes are for a new feature request to support viewing (zstd)[https://facebook.github.io/zstd/] compressed files. I took an initial stab at the implementation for this. I'm new to Groovy but it seemed simple enough following the implementation for existing file types.
There is one caveat: accepting this PR does add a new dependency to the project (https://github.com/luben/zstd-jni).