You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pubconstiterate=@compileError("only 'IterableDir' can be iterated; 'IterableDir' can be obtained with 'openIterableDir' or by opening with 'iterate = true' and using 'intoIterable'");
964
-
pubconstwalk=@compileError("only 'IterableDir' can be walked; 'IterableDir' can be obtained with 'openIterableDir' or by opening with 'iterate = true' and using 'intoIterable'");
965
-
pubconstchmod=@compileError("only 'IterableDir' can have its mode changed; 'IterableDir' can be obtained with 'openIterableDir' or by opening with 'iterate = true' and using 'intoIterable'");
966
-
pubconstchown=@compileError("only 'IterableDir' can have its owner changed; 'IterableDir' can be obtained with 'openIterableDir' or by opening with 'iterate = true' and using 'intoIterable'");
960
+
pubconstiterate=@compileError("only 'IterableDir' can be iterated; 'IterableDir' can be obtained with 'openIterableDir'");
961
+
pubconstwalk=@compileError("only 'IterableDir' can be walked; 'IterableDir' can be obtained with 'openIterableDir'");
962
+
pubconstchmod=@compileError("only 'IterableDir' can have its mode changed; 'IterableDir' can be obtained with 'openIterableDir'");
963
+
pubconstchown=@compileError("only 'IterableDir' can have its owner changed; 'IterableDir' can be obtained with 'openIterableDir'");
967
964
968
965
pubconstOpenError=error{
969
966
FileNotFound,
@@ -1381,6 +1378,15 @@ pub const Dir = struct {
1381
1378
returnself.openDir(sub_path, open_dir_options);
1382
1379
}
1383
1380
1381
+
/// This function performs `makePath`, followed by `openIterableDir`.
1382
+
/// If supported by the OS, this operation is atomic. It is not atomic on
0 commit comments