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

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

Type: const char*

A byte string.

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