Class

FlatpakTransactionOperation

Description

final class Flatpak.TransactionOperation : GObject.Object
{
  /* No available fields */
}

No description available.

Hierarchy

hierarchy this FlatpakTransactionOperation ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

flatpak_transaction_operation_get_bundle_path

Gets the path to the bundle.

flatpak_transaction_operation_get_commit

Gets the commit ID for the operation.

flatpak_transaction_operation_get_download_size

Gets the maximum download size for the operation.

since: 1.1.2

flatpak_transaction_operation_get_installed_size

Gets the installed size for the operation.

since: 1.1.2

flatpak_transaction_operation_get_is_skipped

Gets whether this operation will be skipped when the transaction is run. Operations are skipped in some transaction situations, for example when an app has reached end of life and needs a rebase, or when it would have been updated but no update is available. By default, skipped operations are not returned by flatpak_transaction_get_operations() — but they can be accessed by traversing the operation graph using flatpak_transaction_operation_get_related_to_ops().

since: 1.7.3

flatpak_transaction_operation_get_metadata

Gets the metadata that will be applicable when the operation is done.

flatpak_transaction_operation_get_old_metadata

Gets the metadata current metadata for the ref that self works on. Also see flatpak_transaction_operation_get_metadata().

flatpak_transaction_operation_get_operation_type

Gets the type of the operation.

flatpak_transaction_operation_get_ref

Gets the ref that the operation applies to.

flatpak_transaction_operation_get_related_to_ops

Gets the operation(s) which caused this operation to be added to the transaction. In the case of a runtime, it’s the app(s) whose runtime it is, and/or a runtime extension in the special case of an extra-data extension that doesn’t define the “NoRuntime” key. In the case of a related ref such as an extension, it’s the main app or runtime. In the case of a main app or something added to the transaction by e.g. flatpak_transaction_add_install() and which is not otherwise needed, NULL or an empty array will be returned.

since: 1.7.3

flatpak_transaction_operation_get_remote

Gets the remote that the operation applies to.

flatpak_transaction_operation_get_requires_authentication

Gets whether the given operation will require authentication to acquire needed tokens. See also the documentation for FlatpakTransaction::ready-pre-auth.

since: 1.9.1

flatpak_transaction_operation_get_subpaths

Gets the set of subpaths that will be pulled from this ref.

since: 1.9.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FlatpakTransactionOperationClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.