-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(fs): use same walker for slow and fast modes #5667
Conversation
49b2933
to
d5ed3e3
Compare
d5ed3e3
to
a783395
Compare
a783395
to
ee9cb67
Compare
@knqyf263 Sorry, I know that you are pretty busy but if you or someone else from the team could have a look at this one, that would be very much appreciated. Thanks ! |
filepath.WalkDir doesn't follow symlink which makes it impossible to use it to walk through /proc/<pid>/root This PR changes the current walker to: - handle top directory symlink - use same walker for both slow and fast paths for consistency
ee9cb67
to
95f395c
Compare
I'm sorry for the late reply. We already have a PR. Does it meet your requirements? |
No problem !
Unfortunately no :-/ |
This PR is stale because it has been labeled with inactivity. |
We've finally merged #5180. If your use-case benefits the community, we'd accept it. If not, the walker is now an interface, and you can overwrite it on your end. |
Please feel free to reopen it if you still need it. Thanks. |
Description
filepath.WalkDir
doesn't follow symlink which makes it impossible to use it to walk through/proc/12345/root
This PR changes the current walker to:PR's were push upstream but the project (https://github.com/saracen/walker) seems dead.
Other options would be to import the code (into pkg/utils/fsutils ?) or have the fork under the aqua org.
Related issues
Related PRs
Remove this section if you don't have related PRs.
Checklist