Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

EditorFileSystem

Inherits: Node < Object

Resource filesystem, as the editor sees it.

Description

This object holds information of all resources in the filesystem, their types, etc.

Note: This class shouldn't be instantiated directly. Instead, access the singleton using EditorInterface.get_resource_filesystem.

Methods

String

get_file_type ( String path ) const

EditorFileSystemDirectory

get_filesystem ( )

EditorFileSystemDirectory

get_filesystem_path ( String path )

float

get_scanning_progress ( ) const

bool

is_scanning ( ) const

void

reimport_files ( PackedStringArray files )

void

scan ( )

void

scan_sources ( )

void

update_file ( String path )


Signals

filesystem_changed ( )

Emitted if the filesystem changed.


resources_reimported ( PackedStringArray resources )

Emitted if a resource is reimported.


resources_reload ( PackedStringArray resources )

Emitted if at least one resource is reloaded when the filesystem is scanned.


script_classes_updated ( )

Emitted when the list of global script classes gets updated.


sources_changed ( bool exist )

Emitted if the source of any imported file changed.


Method Descriptions