EditorFileSystem

    Category: Core

    Resource filesystem, as the editor sees it.

    Emitted if the filesystem changed.


    • resources_reimported ( resources )

    Remitted if a resource is reimported.



    • sources_changed ( exist )

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

    • String get_file_type ( path ) const

    Get the type of the file, given the full path.


    Get the root directory object.


    Returns a view into the filesystem at .


    • get_scanning_progress ( ) const

    • bool is_scanning ( ) const

    Returns true of the filesystem is being scanned.


    • void scan ( )

    Scan the filesystem for changes.


    • void scan_sources ( )

    Check if the source of any imported resource changed.


    • void update_file ( path )

    Update a file information. Call this if an external program (not Godot) modified the file.