class

Godot::DirAccess

Inherits Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

change_dir(to_dir : String) : Int64
Source
copy(from : String, to : String, chmod_flags : Int64) : Int64
Source
copy_absolute(from : String, to : String, chmod_flags : Int64) : Int64
Source
create_temp(prefix : String, keep : Bool) : DirAccess
Source
current_is_dir
Source
dir_exists(path : String) : Bool
Source
dir_exists_absolute(path : String) : Bool
Source
file_exists(path : String) : Bool
Source
get_current_dir(include_drive : Bool) : String
Source
get_current_drive
Source
get_directories
Source
get_directories_at(path : String) : Pointer(Void)
Source
get_drive_count
Source
get_drive_label(idx : Int64) : String
Source
get_drive_name(idx : Int64) : String
Source
get_files
Source
get_files_at(path : String) : Pointer(Void)
Source
get_filesystem_type
Source
get_include_hidden
Source
get_include_navigational
Source
get_next
Source
get_open_error
Source
get_space_left
Source
include_hidden

Property include_hidden getter

Source
include_hidden=(val)

Property include_hidden setter

Source
include_hidden?
Source
include_navigational

Property include_navigational getter

Source
include_navigational=(val)

Property include_navigational setter

Source
include_navigational?
Source
is_bundle(path : String) : Bool
Source
is_case_sensitive(path : String) : Bool
Source
is_equivalent(path_a : String, path_b : String) : Bool
Source
list_dir_begin
Source
list_dir_end
Source
make_dir(path : String) : Int64
Source
make_dir_absolute(path : String) : Int64
Source
make_dir_recursive(path : String) : Int64
Source
make_dir_recursive_absolute(path : String) : Int64
Source
open(path : String) : DirAccess
Source
remove(path : String) : Int64
Source
remove_absolute(path : String) : Int64
Source
rename(from : String, to : String) : Int64
Source
rename_absolute(from : String, to : String) : Int64
Source
set_include_hidden(enable : Bool) : Void
Source
set_include_navigational(enable : Bool) : Void
Source