Click or drag to resize

DirectoryOpen Method

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).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error Open(
	string path
)

Parameters

path
Type: SystemString

[Missing <param name="path"/> documentation for "M:Godot.Directory.Open(System.String)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.Directory.Open(System.String)"]

See Also