ignore: always include depth in errors
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Include the depth in I/O errors from WalkDir as well, so that the consumer can handle the error differently depending on depth. For example, this would allow ignoring broken symlinks that don't match certain depth criteria. Note that this could conceivably be a breaking change if callers were previously relying on down-casting nested errors to specific types. There weren't any documented API guarantees around this, but if it breaks too many folks, we'll likely need to back this out. Fixes #3453
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+4 added−1 removed
- other:+4 added−1 removed