std.fs.list_dir

std.fs

list_dir(path) -> entries, err

List all entries in a directory

Returns an array of filenames for every entry in path, including "." and "..". The array is unordered. Returns nil and an error string if the path does not exist or is not a directory.