Gio.FileInfo.prototype.set_symlink_target

function set_symlink_target(symlink_target: String): void {
    // Gjs wrapper for g_file_info_set_symlink_target()
}
  

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

symlink_target

a static string containing a path to a symlink target.