Function Directory.changeDir

Changes the currently opened directory to the one passed as an argument. The argument can be relative to the current directory (e.g. newdir or ../newdir), or an absolute path (e.g. /tmp/newdir or res://somedir/newdir). Returns one of the error code constants (OK on success).

godot.core.defs.GodotError changeDir (
  const(String) todir
) nothrow @nogc;