Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stops walking after any error #1

Open
nickperkinslondon opened this issue May 18, 2017 · 0 comments
Open

Stops walking after any error #1

nickperkinslondon opened this issue May 18, 2017 · 0 comments

Comments

@nickperkinslondon
Copy link

Firstly, thanks for doing a breadth-first file walker!
( all of the other file walkers in the world seem to be depth-first )

I get the occasional "stats" error ( like Error: EBUSY: resource busy or locked, stat 'C:\hiberfil.sys' ).
The walker calls my error handler, which is good...but then it just stops walking entirely!
I am trying to find a file in another folder, so I want it to keep going.

On a related topic...if I do find the file I am looking for, how do I stop the whole thing?
Maybe I can pass a flag to the callback or something to indicate "stop walking"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant