archive icon indicating copy to clipboard operation
archive copied to clipboard

If it's possible to add a callback function so that can be show now extracting file in progress

Open Muska-Ami opened this issue 1 year ago • 2 comments

Like the title, we need a callback function when extracting files to disk:

extractFileToDisk(File file, Directory dir, Function callback);

Muska-Ami avatar Mar 27 '24 06:03 Muska-Ami

i am going to second this! i would like to see convenience functions for both extraction and archive creation that would provide callbacks, so we can show progress to the end user.

allenbrunson avatar May 12 '24 08:05 allenbrunson

I added that callback to the 4.0 branch I've been working on. https://github.com/brendan-duncan/archive/tree/4.0. Hopefully it will be ready soon.

brendan-duncan avatar May 12 '24 15:05 brendan-duncan