fun open(path: String, flags: <Error class: unknown class>): <Error class: unknown class><Dir> Opens a directory for reading. The names of the files in the directory can then be retrieved using g_dir_read_name(). Note that the ordering is not defined.