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_metadata () |
const char * const * | flatpak_installed_ref_get_subpaths () |
const char * | flatpak_installed_ref_get_eol () |
const char * | flatpak_installed_ref_get_eol_rebase () |
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_metadata (FlatpakInstalledRef *self
,GCancellable *cancellable
,GError **error
);
Loads the metadata file for this ref.
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.
“deploy-dir”
property“deploy-dir” gchar *
Where the application is installed.
Flags: Read / Write
Default value: NULL
“end-of-life”
property“end-of-life” gchar *
The reason for the ref to be end of life.
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 lifeed ref.
Flags: Read / Write / Construct Only
Default value: NULL
“installed-size”
property“installed-size” guint64
The installed size of the application.
Flags: Read / Write
Default value: 0
“is-current”
property“is-current” gboolean
Whether the application is current.
Flags: Read / Write
Default value: FALSE
“latest-commit”
property“latest-commit” gchar *
The latest commit.
Flags: Read / Write
Default value: NULL