-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
Use walker #195
Use walker #195
Conversation
Hmm, I changed behavior for permission error while walking directories. saracen/walker stop walking when non-permitted directory found. If you are okay, please merge this. |
How about copying codes of fastwalk ? |
That's a good idea, but before that, we should make a suggestion to saracen/walker that it can do handle unpermitted files. Also, even if we'll use fastwalk, it's not a good idea to have source code in this repository, but it is better you fork it and utilize it in it. |
Before
After
|
## [v0.12.7](v0.12.6...v0.12.7) (2019-11-05) * fix accepted values of ghq.<url>.vcs in README [#196](#196) ([autopp](https://github.com/autopp)) * Use walker [#195](#195) ([mattn](https://github.com/mattn)) * Use filepath [#194](#194) ([mattn](https://github.com/mattn)) * go.{mod,sum}: Update xerrors dependency [#193](#193) ([rvolosatovs](https://github.com/rvolosatovs)) * define func detectUserName and utilize it [#191](#191) ([Songmu](https://github.com/Songmu))
filepath.Walk is bits slow since it call os.Stat for each files. This pull-request use github.com/saracen/walker instead.
Before
After