Method

GioFileInfoget_attribute_status

Declaration

GFileAttributeStatus
g_file_info_get_attribute_status (
  GFileInfo* info,
  const char* attribute
)

Description

Gets the attribute status for an attribute key.

Parameters

attribute const char*
 

A file attribute key.

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

Return value

Returns: GFileAttributeStatus
 

A GFileAttributeStatus for the given attribute, or G_FILE_ATTRIBUTE_STATUS_UNSET if the key is invalid.