Directory.changeDir

Change 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). The method returns one of the error code constants defined in @GlobalScope (OK or ERR_*).

struct Directory
@nogc nothrow
GodotError
changeDir
(
StringArg0
)
(
in StringArg0 todir
)

Meta