Method

GioFileInfoget_attribute_stringv

Declaration

char**
g_file_info_get_attribute_stringv (
  GFileInfo* info,
  const char* attribute
)

Description

Gets the value of a stringv attribute. If the attribute does not contain a stringv, NULL will be returned.

Available since:2.22

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: An array of utf8
 

The contents of the attribute value as a stringv, or NULL otherwise. Do not free. These returned strings are UTF-8.

 The data is owned by the instance.
 The return value can be NULL.