pub fn createDirPathOpen(dir: Dir, io: Io, sub_path: []const u8, options: CreateDirPathOpenOptions) CreateDirPathOpenError!Dir dir: Dirio: Iosub_path: []const u8options: CreateDirPathOpenOptions873
874
875pub fn createDirPathOpen(dir: Dir, io: Io, sub_path: []const u8, options: CreateDirPathOpenOptions) CreateDirPathOpenError!Dir {
return io.vtable.dirCreateDirPathOpen(io.userdata, dir, sub_path, options.permissions, options.open_options);
}
Performs the equivalent of
createDirPathfollowed byopenDir, atomically if possible.When this operation is canceled, it may leave the file system in a partially modified state.
On Windows,
sub_pathshould be encoded as WTF-8. On WASI,sub_pathshould be encoded as valid UTF-8. On other platforms,sub_pathis an opaque sequence of bytes with no particular encoding.