FileInfo.getFileType

Gets a file's type (whether it is a regular file, symlink, etc). This is different from the file's content type, see gio.file_info.FileInfo.getContentType.

It is an error to call this if the #GFileInfo does not contain G_FILE_ATTRIBUTE_STANDARD_TYPE.

class FileInfo
getFileType
()

Return Value

Type: gio.types.FileType

a #GFileType for the given file.