EditorFileSystemDirectory

Inherits: Object

A directory for the resource filesystem.

Description

A more generalized, low-level variation of the directory concept.

Method Descriptions

Returns the index of the directory with name name or -1 if not found.


Returns the index of the file with name name or -1 if not found.


Returns the name of the file at index idx.


  • int get_file_count ( ) const

Returns the number of files in this directory.


  • bool get_file_import_is_valid ( int idx ) const

Returns true if the file at index idx imported properly.


Returns the path to the file at index idx.


  • String get_file_script_class_extends ( int idx ) const

  • String get_file_script_class_name ( int idx ) const

Returns the file extension of the file at index idx.


Returns the name of this directory.


Returns the parent directory for this directory or null if called on a directory at res:// or user://.


Returns the path to this directory.


Returns the subdirectory at index idx.


  • int get_subdir_count ( ) const

Returns the number of subdirectories in this directory.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.