Open Byron opened 4 years ago
Previously jwalk would follow symlinks, so we could not use it and instead implemented our own traversal.
Now with jwalk 0.5, this is supported and we can use our standard jwalker to do the job.
https://github.com/Byron/dua-cli/blob/543f7f3948c26250a8fc6ebf79a49f3ddfa3cb63/src/interactive/app/handlers.rs#L305-L340
The function above would have to change to use jwalk. It should be straightforward to obtain a walker with this function:
https://github.com/Byron/dua-cli/blob/0d6116eea1e741bc8bc1fc6d04536c8242c5aa42/src/common.rs#L162-L184
Previously jwalk would follow symlinks, so we could not use it and instead implemented our own traversal.
Now with jwalk 0.5, this is supported and we can use our standard jwalker to do the job.
https://github.com/Byron/dua-cli/blob/543f7f3948c26250a8fc6ebf79a49f3ddfa3cb63/src/interactive/app/handlers.rs#L305-L340
The function above would have to change to use jwalk. It should be straightforward to obtain a walker with this function:
https://github.com/Byron/dua-cli/blob/0d6116eea1e741bc8bc1fc6d04536c8242c5aa42/src/common.rs#L162-L184