Method

GioFileInfoset_attribute

Declaration

void
g_file_info_set_attribute (
  GFileInfo* info,
  const char* attribute,
  GFileAttributeType type,
  gpointer value_p
)

Description

Sets the attribute to contain the given value, if possible. To unset the attribute, use G_FILE_ATTRIBUTE_TYPE_INVALID for type.

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.
type GFileAttributeType
 

A GFileAttributeType.

value_p gpointer
 

Pointer to the value.