| Top |
| const char * | flatpak_installed_ref_get_deploy_dir () |
| guint64 | flatpak_installed_ref_get_installed_size () |
| gboolean | flatpak_installed_ref_get_is_current () |
| const char * | flatpak_installed_ref_get_latest_commit () |
| const char * | flatpak_installed_ref_get_origin () |
| GBytes * | flatpak_installed_ref_load_appdata () |
| GBytes * | flatpak_installed_ref_load_metadata () |
| const char * | flatpak_installed_ref_get_appdata_license () |
| const char * | flatpak_installed_ref_get_appdata_name () |
| const char * | flatpak_installed_ref_get_appdata_summary () |
| const char * | flatpak_installed_ref_get_appdata_version () |
| const char * const * | flatpak_installed_ref_get_subpaths () |
| const char * | flatpak_installed_ref_get_eol () |
| const char * | flatpak_installed_ref_get_eol_rebase () |
| gchar * | appdata-license | Read / Write / Construct Only |
| gchar * | appdata-name | Read / Write / Construct Only |
| gchar * | appdata-summary | Read / Write / Construct Only |
| gchar * | appdata-version | Read / Write / Construct Only |
| gchar * | deploy-dir | Read / Write |
| gchar * | end-of-life | Read / Write / Construct Only |
| gchar * | end-of-life-rebase | Read / Write / Construct Only |
| guint64 | installed-size | Read / Write |
| gboolean | is-current | Read / Write |
| gchar * | latest-commit | Read / Write |
| gchar * | origin | Read / Write |
| GStrv | subpaths | Read / Write |
A FlatpakInstalledRef provides information about an installed application or runtime (in short: ref), such as the available builds, its size, location, etc.
const char *
flatpak_installed_ref_get_deploy_dir (FlatpakInstalledRef *self);
Gets the deploy dir of the ref.
guint64
flatpak_installed_ref_get_installed_size
(FlatpakInstalledRef *self);
Returns the installed size of the ref.
gboolean
flatpak_installed_ref_get_is_current (FlatpakInstalledRef *self);
Returns whether the ref is current.
const char *
flatpak_installed_ref_get_latest_commit
(FlatpakInstalledRef *self);
Gets the latest commit of the ref.
const char *
flatpak_installed_ref_get_origin (FlatpakInstalledRef *self);
Gets the origin of the ref.
GBytes * flatpak_installed_ref_load_appdata (FlatpakInstalledRef *self,GCancellable *cancellable,GError **error);
Loads the compressed xml appdata for this ref (if it exists).
a GBytes containing the compressed appdata file,
or NULL if an error occurred.
[transfer full]
Since: 1.1.2
GBytes * flatpak_installed_ref_load_metadata (FlatpakInstalledRef *self,GCancellable *cancellable,GError **error);
Loads the metadata file for this ref.
const char *
flatpak_installed_ref_get_appdata_license
(FlatpakInstalledRef *self);
Returns the license field from the appdata.
Since: 1.1.2
const char *
flatpak_installed_ref_get_appdata_name
(FlatpakInstalledRef *self);
Returns the name field from the appdata.
The returned string is localized.
Since: 1.1.2
const char *
flatpak_installed_ref_get_appdata_summary
(FlatpakInstalledRef *self);
Returns the summary field from the appdata.
The returned string is localized.
Since: 1.1.2
const char *
flatpak_installed_ref_get_appdata_version
(FlatpakInstalledRef *self);
Returns the default version field from the appdata.
Since: 1.1.2
const char * const *
flatpak_installed_ref_get_subpaths (FlatpakInstalledRef *self);
Returns the subpaths that are installed, or NULL if all files installed.
const char *
flatpak_installed_ref_get_eol (FlatpakInstalledRef *self);
Returns the end-of-life reason string, or NULL if the
ref is not end-of-lifed.
const char *
flatpak_installed_ref_get_eol_rebase (FlatpakInstalledRef *self);
Returns the end-of-life rebased ref, or NULL if the
ref is not end-of-lifed.
“appdata-license” property “appdata-license” gchar *
The license from the appdata.
Owner: FlatpakInstalledRef
Flags: Read / Write / Construct Only
Default value: NULL
“appdata-name” property “appdata-name” gchar *
The localized name field from the appdata.
Owner: FlatpakInstalledRef
Flags: Read / Write / Construct Only
Default value: NULL
“appdata-summary” property “appdata-summary” gchar *
The localized summary field from the appdata.
Owner: FlatpakInstalledRef
Flags: Read / Write / Construct Only
Default value: NULL
“appdata-version” property “appdata-version” gchar *
The default version field from the appdata.
Owner: FlatpakInstalledRef
Flags: Read / Write / Construct Only
Default value: NULL
“deploy-dir” property “deploy-dir” gchar *
Where the application is installed.
Owner: FlatpakInstalledRef
Flags: Read / Write
Default value: NULL
“end-of-life” property “end-of-life” gchar *
The reason for the ref to be end of life.
Owner: FlatpakInstalledRef
Flags: Read / Write / Construct Only
Default value: NULL
“end-of-life-rebase” property “end-of-life-rebase” gchar *
The new ref for the end-of-lifed ref.
Owner: FlatpakInstalledRef
Flags: Read / Write / Construct Only
Default value: NULL
“installed-size” property “installed-size” guint64
The installed size of the application.
Owner: FlatpakInstalledRef
Flags: Read / Write
Default value: 0
“is-current” property “is-current” gboolean
Whether the application is current.
Owner: FlatpakInstalledRef
Flags: Read / Write
Default value: FALSE
“latest-commit” property “latest-commit” gchar *
The latest commit.
Owner: FlatpakInstalledRef
Flags: Read / Write
Default value: NULL
“origin” property “origin” gchar *
The origin.
Owner: FlatpakInstalledRef
Flags: Read / Write
Default value: NULL