Merge pull request #51579 from Calinou/doc-editorfilesystem-get-file-type

Fix incorrect descriptions for EditorFileSystem's `get_file_type()`
This commit is contained in:
Rémi Verschelde 2021-08-12 20:36:20 +02:00 committed by GitHub
commit 244295a0c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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">