darakian / ddh

A fast duplicate file finder
Other
452 stars 18 forks source link

Any chance to get progression hooks? #66

Open grayfallstown opened 1 year ago

grayfallstown commented 1 year ago

When using ddh as a library, I would like an indication of progression I can show a user on a GUI.

Something like nr of files found, nr of files processed, nr of files skipped, nr of duplicates found.

Given the parallel nature of ddh, rough estimations would be enough.

darakian commented 1 year ago

Ya that should be possible. It'll probably require creating a struct to manage the ddh call as well as making the call async. I'll add this to my list of things to experiment with, but I see no reason why not to add this in a future version :)