fn makeOpenPath(self: Dir, sub_path: []const u8, open_dir_options: OpenDirOptions) !Dir

This function performs makePath, followed by openDir. If supported by the OS, this operation is atomic. It is not atomic on all operating systems.

Parameters

self: Dir,
sub_path: []const u8,
open_dir_options: OpenDirOptions,