Method

GioFileInfoset_symlink_target

Declaration

void
g_file_info_set_symlink_target (
  GFileInfo* info,
  const char* symlink_target
)

Description

Sets the G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET attribute in the file info to the given symlink target.

Parameters

symlink_target

Type: const char*

A static string containing a path to a symlink target.

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