Fix incorrect descriptions for EditorFileSystem's get_file_type()

This commit is contained in:
Hugo Locurcio
2021-08-12 18:38:57 +02:00
parent c89ad92c96
commit 1942e0c117
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
<return type="String" />
<argument index="0" name="path" type="String" />
<description>
Gets the type of the file, given the full path.
Returns the resource type of the file, given the full path. This returns a string such as [code]"Resource"[/code] or [code]"GDScript"[/code], [i]not[/i] a file extension such as [code]".gd"[/code].
</description>
</method>
<method name="get_filesystem">

View File

@ -68,7 +68,7 @@
<return type="StringName" />
<argument index="0" name="idx" type="int" />
<description>
Returns the file extension of the file at index [code]idx[/code].
Returns the resource type of the file at index [code]idx[/code]. This returns a string such as [code]"Resource"[/code] or [code]"GDScript"[/code], [i]not[/i] a file extension such as [code]".gd"[/code].
</description>
</method>
<method name="get_name">