EditorFileSystem.getFileType

Returns the resource type of the file, given the full path. This returns a string such as "Resource" or "GDScript", not a file extension such as ".gd".

struct EditorFileSystem
@nogc nothrow const
String
getFileType
(
in String path
)

Meta