| ... | @@ -1459,8 +1459,9 @@ pub const Dir = struct { | ... | @@ -1459,8 +1459,9 @@ pub const Dir = struct { |
| 1459 | try os.mkdiratW(self.fd, sub_path, default_new_dir_mode); | 1459 | try os.mkdiratW(self.fd, sub_path, default_new_dir_mode); |
| 1460 | } | 1460 | } |
| 1461 | | 1461 | |
| 1462 | /// Calls makeDir recursively to make an entire path. Returns success if the path | 1462 | /// Calls makeDir iteratively to make an entire path |
| 1463 | /// already exists and is a directory. | 1463 | /// (i.e. creating any parent directories that do not exist). |
| | 1464 | /// Returns success if the path already exists and is a directory. |
| 1464 | /// This function is not atomic, and if it returns an error, the file system may | 1465 | /// This function is not atomic, and if it returns an error, the file system may |
| 1465 | /// have been modified regardless. | 1466 | /// have been modified regardless. |
| 1466 | pub fn makePath(self: Dir, sub_path: []const u8) !void { | 1467 | pub fn makePath(self: Dir, sub_path: []const u8) !void { |
| ... | @@ -1483,9 +1484,9 @@ pub const Dir = struct { | ... | @@ -1483,9 +1484,9 @@ pub const Dir = struct { |
| 1483 | } | 1484 | } |
| 1484 | } | 1485 | } |
| 1485 | | 1486 | |
| 1486 | /// Calls makeOpenDirAccessMaskW recursively to make an entire path | 1487 | /// Calls makeOpenDirAccessMaskW iteratively to make an entire path |
| 1487 | /// (i.e. falling back if the parent directory does not exist). Opens the dir if the path | 1488 | /// (i.e. creating any parent directories that do not exist). |
| 1488 | /// already exists and is a directory. | 1489 | /// Opens the dir if the path already exists and is a directory. |
| 1489 | /// This function is not atomic, and if it returns an error, the file system may | 1490 | /// This function is not atomic, and if it returns an error, the file system may |
| 1490 | /// have been modified regardless. | 1491 | /// have been modified regardless. |
| 1491 | fn makeOpenPathAccessMaskW(self: Dir, sub_path: []const u8, access_mask: u32, no_follow: bool) OpenError!Dir { | 1492 | fn makeOpenPathAccessMaskW(self: Dir, sub_path: []const u8, access_mask: u32, no_follow: bool) OpenError!Dir { |