Home > Back-end >  File search shows the progress bar
File search shows the progress bar

Time:09-29

I need to implement this function: through a directories and subdirectories, need in displaying the progress of traversal traversal, can show probably have completed many, but due to traverse the former don't know how many files, directories and subdirectories are without precisely how to achieve it? What good method?

CodePudding user response:

Look carefully, Windows yourself a lot of time all can't do,
Why do you struggle with a better algorithm,

CodePudding user response:

This is not possible, only after we know the total number of files, to improve the search bar,
However, you can do a progress bar has nothing to do with the degree of progress, repeatedly between 0-100, when the search is closed again,
  • Related