Method

GioFileInfoset_attribute_file_path

since: 2.78

Declaration

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

Description

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

This function is meant to be used by language bindings that have specific handling for Unix paths.

Available since: 2.78

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 file path.

The data is owned by the caller of the function.
The value is a file system path, using the OS encoding.