fn openDir(self: Dir, sub_path: []const u8, args: OpenDirOptions) OpenError!Dir

Opens a directory at the given path. The directory is a system resource that remains open until close is called on the result.

Asserts that the path parameter has no null bytes.

Parameters

self: Dir,
sub_path: []const u8,