brendan-duncan / archive

Dart library to encode and decode various archive and compression formats, such as Zip, Tar, GZip, ZLib, and BZip2.
MIT License
400 stars 140 forks source link

docs: update example to use zipDirectoryAsync #299

Closed alestiago closed 10 months ago

alestiago commented 11 months ago

zipDirectory currently has a commented deprecation warning.

https://github.com/brendan-duncan/archive/blob/bf9bcaac740651fb84b75818a7cb609ffd9253fd/lib/src/io/zip_file_encoder.dart#L21

If the intention is to deprecate zipDirectory, then the example should be changed to.