Function Directory.open

Opens an existing directory of the filesystem. The path argument can be within the project tree (res://folder), the user directory (user://folder) or an absolute path of the user filesystem (e.g. /tmp/folder or C:\tmp\folder). Returns one of the error code constants (OK on success).

godot.core.defs.GodotError open (
  const(String) path
) nothrow @nogc;