Struct EditorFileSystemDirectory

A directory for the resource filesystem.

struct EditorFileSystemDirectory ;

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

Methods

NameDescription
findDirIndex Returns the index of the directory with name name or -1 if not found.
findFileIndex Returns the index of the file with name name or -1 if not found.
getFile Returns the name of the file at index idx.
getFileCount Returns the number of files in this directory.
getFileImportIsValid Returns true if the file at index idx imported properly.
getFilePath Returns the path to the file at index idx.
getFileScriptClassExtends
getFileScriptClassName
getFileType Returns the file extension of the file at index idx.
getName Returns the name of this directory.
getParent Returns the parent directory for this directory or null if called on a directory at res:// or user://.
getPath Returns the path to this directory.
getSubdir Returns the subdirectory at index idx.
getSubdirCount Returns the number of subdirectories in this directory.