diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2022-08-13 22:08:40 -0700 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-08-15 11:25:51 +0300 |
| commit | 764cf4e53ffc29bbd39c636020019ae419135d82 (patch) | |
| tree | 694f59466e8c09fde25f31a510c449914f9f5b47 /src | |
| parent | 2279f27e0f97e66aedc87ec5c85f05b185a3631d (diff) | |
| download | zig-764cf4e53ffc29bbd39c636020019ae419135d82.tar.gz zig-764cf4e53ffc29bbd39c636020019ae419135d82.zip | |
std.fs: Fix `WalkerEntry.dir` not always being the containing dir
Before this commit, the modified test would fail with `FileNotFound` because the `entry.dir` would be for the entry itself rather than the containing dir of the entry. That is, if you were walking a tree of `a/b`, then (previously) the entry for `b` would incorrectly have an `entry.dir` for `b` rather than `a`.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
