Virtual Method

NautilusFileInfoget_string_attribute

Declaration [src]

char*
get_string_attribute (
  NautilusFileInfo* file_info,
  const char* attribute_name
)

Description [src]

Returns the specified file attribute as a string. See nautilus_file_info_get_string_attribute() for details.

Parameters

attribute_name

Type: const char*

The name of an attribute.

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

Return value

Type: char*

The value for the given attribute_name, or NULL if there is none.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.