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

This function performs makePath, followed by openIterableDir. 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,