| ... | ... | @@ -266,7 +266,7 @@ const default_new_dir_mode = 0o755; |
| 266 | 266 | /// Asserts that the path is absolute. See `Dir.makeDir` for a function that operates |
| 267 | 267 | /// on both absolute and relative paths. |
| 268 | 268 | pub fn makeDirAbsolute(absolute_path: []const u8) !void { |
| 269 | | assert(path.isAbsoluteC(absolute_path)); |
| 269 | assert(path.isAbsolute(absolute_path)); |
| 270 | 270 | return os.mkdir(absolute_path, default_new_dir_mode); |
| 271 | 271 | } |
| 272 | 272 | |
| ... | ... | @@ -1669,6 +1669,8 @@ pub fn realpathAlloc(allocator: *Allocator, pathname: []const u8) ![]u8 { |
| 1669 | 1669 | } |
| 1670 | 1670 | |
| 1671 | 1671 | test "" { |
| 1672 | _ = makeDirAbsolute; |
| 1673 | _ = makeDirAbsoluteZ; |
| 1672 | 1674 | _ = @import("fs/path.zig"); |
| 1673 | 1675 | _ = @import("fs/file.zig"); |
| 1674 | 1676 | _ = @import("fs/get_app_data_dir.zig"); |