From afefa8f70f0d7d34d69989e030ec431335c684ca Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 12 Aug 2021 18:38:57 +0200 Subject: [PATCH] Fix incorrect descriptions for EditorFileSystem's `get_file_type()` (cherry picked from commit 1942e0c1171dbd5a00d323114106cf4714608d18) --- doc/classes/EditorFileSystem.xml | 2 +- doc/classes/EditorFileSystemDirectory.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/EditorFileSystem.xml b/doc/classes/EditorFileSystem.xml index 5a9457efb0c..68d4cce3c80 100644 --- a/doc/classes/EditorFileSystem.xml +++ b/doc/classes/EditorFileSystem.xml @@ -14,7 +14,7 @@ - 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]. diff --git a/doc/classes/EditorFileSystemDirectory.xml b/doc/classes/EditorFileSystemDirectory.xml index 35b590d1287..6475255395d 100644 --- a/doc/classes/EditorFileSystemDirectory.xml +++ b/doc/classes/EditorFileSystemDirectory.xml @@ -68,7 +68,7 @@ - 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].