Top |
FlatpakBundleRef * flatpak_bundle_ref_new (GFile *file
,GError **error
);
Creates a new bundle ref for the given file.
GFile *
flatpak_bundle_ref_get_file (FlatpakBundleRef *self
);
Get the file this bundle is stored in.
GBytes *
flatpak_bundle_ref_get_metadata (FlatpakBundleRef *self
);
Get the metadata for the app/runtime
GBytes *
flatpak_bundle_ref_get_appstream (FlatpakBundleRef *self
);
Get the compressed appstream for the app/runtime
GBytes * flatpak_bundle_ref_get_icon (FlatpakBundleRef *self
,int size
);
Get the icon png data for the app/runtime
char *
flatpak_bundle_ref_get_origin (FlatpakBundleRef *self
);
Get the origin url stored in the bundle
guint64
flatpak_bundle_ref_get_installed_size (FlatpakBundleRef *self
);
Returns the installed size for the bundle.
char *
flatpak_bundle_ref_get_runtime_repo_url
(FlatpakBundleRef *self
);
Get the runtime flatpakrepo url stored in the bundle (if any)
Since: 0.8.0
“file”
property“file” GFile *
The bundle file that this ref refers to.
Owner: FlatpakBundleRef
Flags: Read / Write / Construct Only