Public API to check for optional feature,
- Re: Public API to check for optional feature, Thomas Klausner (2020/04/02 09:37:03)
Hi, Some recently added features are optional: * bzip2 compression * AES encryption * xz compression I think it make sense to have some public method to be able to check if available. For example, on some archive application, to be able to offer compression algo choice, among available ones (else, have to try and check failure code) PR open https://github.com/nih-at/libzip/pull/152 * zip_compression_method_supported already exists and is only changed to be public * zip_encryption_method_supported added * ziptools changed to take benefit of this Feedback / review welcome Remi P.S. also planed to be added in PHP zip extension.
Description: OpenPGP digital signature
Made by MHonArc.