Signal
FlatpakTransaction::end-of-lifed-with-rebase
since: 1.3.2
Declaration
gboolean
end_of_lifed_with_rebase (
FlatpakTransaction* self,
gchar* remote,
gchar* ref,
gchar* reason,
gchar* rebased_to_ref,
char** previous_ids,
gpointer user_data
)
Description [src]
The ::end-of-lifed-with-rebase signal gets emitted when a ref is found
to be marked as end-of-life before the transaction begins. Unlike
FlatpakTransaction::end-of-lifed, this signal allows for the
transaction to be modified in order to e.g. install the rebased ref.
If the caller wants to install the rebased ref, they should call
flatpak_transaction_add_rebase_and_uninstall() on rebased_to_ref and ref,
and return TRUE. Otherwise FALSE may be returned.
| Default handler: The default handler is called after the handlers added via |
| Available since: 1.3.2 |
Parameters
remote-
Type:
gchar*The remote for the ref we are processing.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. ref-
Type:
gchar*The ref we are processing.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. reason-
Type:
gchar*The eol reason, or
NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. rebased_to_ref-
Type:
gchar*The new name, if rebased, or
NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. previous_ids-
Type: An array of
utf8The previous names for the rebased ref (if any), including the one from
ref.The array must be NULL-terminated.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string.