Top | ![]() |
![]() |
![]() |
![]() |
const char * | xdg_app_installed_ref_get_deploy_dir () |
guint64 | xdg_app_installed_ref_get_installed_size () |
gboolean | xdg_app_installed_ref_get_is_current () |
const char * | xdg_app_installed_ref_get_latest_commit () |
const char * | xdg_app_installed_ref_get_origin () |
GBytes * | xdg_app_installed_ref_load_metadata () |
gchar * | deploy-dir | Read / Write |
guint64 | installed-size | Read / Write |
gboolean | is-current | Read / Write |
gchar * | latest-commit | Read / Write |
gchar * | origin | Read / Write |
A XdgAppInstalledRef provides information about an installed application or runtime (in short: ref), such as the available builds, its size, location, etc.
const char *
xdg_app_installed_ref_get_deploy_dir (XdgAppInstalledRef *self
);
Gets the deploy dir of the ref.
guint64
xdg_app_installed_ref_get_installed_size
(XdgAppInstalledRef *self
);
Returns the installed size of the ref.
gboolean
xdg_app_installed_ref_get_is_current (XdgAppInstalledRef *self
);
Returns whether the ref is current.
const char *
xdg_app_installed_ref_get_latest_commit
(XdgAppInstalledRef *self
);
Gets the latest commit of the ref.
const char *
xdg_app_installed_ref_get_origin (XdgAppInstalledRef *self
);
Gets the origin of the ref.
GBytes * xdg_app_installed_ref_load_metadata (XdgAppInstalledRef *self
,GCancellable *cancellable
,GError **error
);
Loads the metadata file for this ref.
“deploy-dir”
property “deploy-dir” gchar *
Where the application is installed.
Flags: Read / Write
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