pub fn createDirAbsolute(io: Io, absolute_path: []const u8, permissions: Permissions) CreateDirError!void io: Ioabsolute_path: []const u8permissions: Permissions812
813
814
815pub fn createDirAbsolute(io: Io, absolute_path: []const u8, permissions: Permissions) CreateDirError!void {
assert(path.isAbsolute(absolute_path));
return createDir(.cwd(), io, absolute_path, permissions);
}
Create a new directory, based on an absolute path.
Asserts that the path is absolute. See
createDirfor a function that operates on both absolute and relative paths.On Windows,
absolute_pathshould be encoded as WTF-8. On WASI,absolute_pathshould be encoded as valid UTF-8. On other platforms,absolute_pathis an opaque sequence of bytes with no particular encoding.