Fix incorrect descriptions for EditorFileSystem's `get_file_type()`

(cherry picked from commit 1942e0c117)
This commit is contained in:
Hugo Locurcio 2021-08-12 18:38:57 +02:00 committed by Rémi Verschelde
parent 17bbdba80e
commit f77b228b2c
No known key found for this signature in database
GPG Key ID: C3336907360768E1
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="String" />
<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">