Gio.FileInfo.get_attribute_type

### Method

# Gio FileInfoget_attribute_type

#### Declaration [src]

    GFileAttributeType
    g_file_info_get_attribute_type (
      GFileInfo* info,
      const char* attribute
    )

#### Description [src]

Gets the attribute type for an attribute key.

#### Parameters

`attribute`

  Type: `const char*`

  A file attribute key.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `GFileAttributeType`

A `GFileAttributeType` for the given `attribute`, or `G_FILE_ATTRIBUTE_TYPE_INVALID` if the key is not set.