Skip to content

Bind EditorFileSystem::is_importing() #13669

@LilithSilver

Description

@LilithSilver

Describe the project you are working on

Patchwork, a real-time version control plugin for Godot.

Describe the problem or limitation you are having in your project

Currently, EditorFileSystem::is_importing() is not bound to the public API. However, it's quite an important check for anyone modifying the project files with external scripts! Without knowing whether Godot is importing files, we may run into file deadlocks or other bad situations.

is_scanning() is already bound, so it isn't a stretch to bind is_importing().

Describe the feature / enhancement and how it helps to overcome the problem or limitation

It is a trivial fix, and simply binds the missing method.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

PR here: godotengine/godot#112887

If this enhancement will not be used often, can it be worked around with a few lines of script?

No.

Is there a reason why this should be core and not an add-on in the asset library?

Yes, it exposes core functionality.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions