Method

GioFileInfoset_attribute_byte_string

Declaration

void
g_file_info_set_attribute_byte_string (
  GFileInfo* info,
  const char* attribute,
  const char* attr_value
)

Description

Sets the attribute to contain the given attr_value, if possible.

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.
attr_value const char*
 

A byte string.

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