| ... | @@ -2651,6 +2651,7 @@ pub fn renameatW( | ... | @@ -2651,6 +2651,7 @@ pub fn renameatW( |
| 2651 | .creation = windows.FILE_OPEN, | 2651 | .creation = windows.FILE_OPEN, |
| 2652 | .io_mode = .blocking, | 2652 | .io_mode = .blocking, |
| 2653 | .filter = .any, // This function is supposed to rename both files and directories. | 2653 | .filter = .any, // This function is supposed to rename both files and directories. |
| | 2654 | .follow_symlinks = false, |
| 2654 | }) catch |err| switch (err) { | 2655 | }) catch |err| switch (err) { |
| 2655 | error.WouldBlock => unreachable, // Not possible without `.share_access_nonblocking = true`. | 2656 | error.WouldBlock => unreachable, // Not possible without `.share_access_nonblocking = true`. |
| 2656 | else => |e| return e, | 2657 | else => |e| return e, |