You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Web] Expose API to force file system sync.
Mostly useful for modules and extensions that can't use FileAccess to write files.
This commit is contained in:
@@ -46,6 +46,13 @@
|
||||
If [param use_global_execution_context] is [code]true[/code], the code will be evaluated in the global execution context. Otherwise, it is evaluated in the execution context of a function within the engine's runtime environment.
|
||||
</description>
|
||||
</method>
|
||||
<method name="force_fs_sync">
|
||||
<return type="void" />
|
||||
<description>
|
||||
Force synchronization of the persistent file system (when enabled).
|
||||
[b]Note:[/b] This is only useful for modules or extensions that can't use [FileAccess] to write files.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_interface">
|
||||
<return type="JavaScriptObject" />
|
||||
<param index="0" name="interface" type="String" />
|
||||
|
||||
Reference in New Issue
Block a user