Functions¶
|
|
|
|
Details¶
- Flatpak.get_default_arch()¶
- Returns:
an arch string
- Return type:
Returns the canonical name for the arch of the current machine.
- Flatpak.get_supported_arches()¶
- Returns:
a zero terminated array of arch strings
- Return type:
[
str
]
Returns the canonical names for the arches that are supported (i.e. can run) on the current machine, in order of priority (default is first).
- Flatpak.get_system_installations(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
- Raises:
- Returns:
a
GLib.PtrArray
ofFlatpak.Installation
instances- Return type:
Lists the system installations according to the current configuration and current availability (e.g. doesn’t return a configured installation if not reachable).
New in version 0.8.
- Flatpak.transaction_operation_type_to_string(kind)¶
- Parameters:
kind (
Flatpak.TransactionOperationType
) – aFlatpak.TransactionOperationType
- Returns:
a string representing kind
- Return type:
Converts the operation type to a string.