Method

GioFileInfoget_attribute_type

Declaration

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

Description

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 function.
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.