Method
FlatpakTransactionadd_install_image
Declaration [src]
gboolean
flatpak_transaction_add_install_image (
FlatpakTransaction* self,
const char* image_location,
GError** error
)
Description [src]
Install a Flatpak from a container image. The image is specified
If the reference from the image was previously installed, then that remote will be used as the remote for the newly installed image. If the reference was not previously installed, then a remote will be created for the reference.
image_location is specified in containers-transports(5) form. Only a subset
of transports are supported: oci:, oci-archive:, and docker:.
Parameters
image_location-
Type:
const char*Location string to install from.
The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.