| author | |
| committer | |
| log | 3c87d4e14ec6b0c2442372cbcc60174d654edddc |
| tree | 12d18222b2ac1f47ba452d62424a5d60b3821596 |
| parent | 5b0be0d436407bbb7a9c6445b6bc58347add301e |
Can happen when e.g. trying to delete a file with the Read Only flag set1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/os/windows.zig+1| ... | ... | @@ -913,6 +913,7 @@ pub fn DeleteFile(sub_path_w: []const u16, options: DeleteFileOptions) DeleteFil |
| 913 | 913 | .FILE_IS_A_DIRECTORY => return error.IsDir, |
| 914 | 914 | .NOT_A_DIRECTORY => return error.NotDir, |
| 915 | 915 | .SHARING_VIOLATION => return error.FileBusy, |
| 916 | .CANNOT_DELETE => return error.AccessDenied, | |
| 916 | 917 | else => return unexpectedStatus(rc), |
| 917 | 918 | } |
| 918 | 919 | } |