We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9323d9 commit 6206837Copy full SHA for 6206837
lib/std/fs/Dir.zig
@@ -13,6 +13,7 @@ pub const Entry = struct {
13
14
const IteratorError = error{
15
AccessDenied,
16
+ PermissionDenied,
17
SystemResources,
18
/// WASI-only. The path of an entry could not be encoded as valid UTF-8.
19
/// WASI is unable to handle paths that cannot be encoded as well-formed UTF-8.
@@ -287,7 +288,7 @@ pub const Iterator = switch (native_os) {
287
288
name,
289
false,
290
&stat_info,
- 0,
291
+ @sizeOf(posix.Stat),
292
)))) {
293
.SUCCESS => {},
294
.INVAL => unreachable,
0 commit comments