Method
FlatpakInstallationlist_installed_related_refs_sync
since: 0.6.7
Declaration [src]
GPtrArray*
flatpak_installation_list_installed_related_refs_sync (
FlatpakInstallation* self,
const char* remote_name,
const char* ref,
GCancellable* cancellable,
GError** error
)
Description [src]
Lists all the locally installed refs that are related to ref. These are
things that are interesting to install, update, or uninstall together with
ref. For instance, locale data or debug information.
Note that while the related refs are usually installed from the same remote
as ref (remote_name), it is possible they were installed from another remote.
This function is similar to flatpak_installation_list_remote_related_refs_sync, but instead of looking at what is available on the remote, it only looks at the locally installed refs. This is useful for instance when you’re looking for related refs to uninstall, or when you’re planning to use FLATPAK_UPDATE_FLAGS_NO_PULL to install previously pulled refs.
Available since: 0.6.7
Parameters
remote_name-
Type:
const char*The name of the remote providing
ref.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. ref-
Type:
const char*The ref.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method. 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.