Fix incorrect descriptions for EditorFileSystem's `get_file_type()`
(cherry picked from commit 1942e0c117
)
This commit is contained in:
parent
17bbdba80e
commit
f77b228b2c
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue