Top | ![]() |
![]() |
![]() |
![]() |
KaimingBundleRef * kaiming_bundle_ref_new (GFile *file
,GError **error
);
Creates a new bundle ref for the given file.
GFile *
kaiming_bundle_ref_get_file (KaimingBundleRef *self
);
Get the file this bundle is stored in.
GBytes *
kaiming_bundle_ref_get_metadata (KaimingBundleRef *self
);
Get the metadata for the app/runtime
GBytes *
kaiming_bundle_ref_get_appstream (KaimingBundleRef *self
);
Get the compressed appstream for the app/runtime
GBytes * kaiming_bundle_ref_get_icon (KaimingBundleRef *self
,int size
);
Get the icon png data for the app/runtime
char *
kaiming_bundle_ref_get_origin (KaimingBundleRef *self
);
Get the origin url stored in the bundle
guint64
kaiming_bundle_ref_get_installed_size (KaimingBundleRef *self
);
Returns the installed size for the bundle.
char *
kaiming_bundle_ref_get_runtime_repo_url
(KaimingBundleRef *self
);
Get the runtime kaimingrepo url stored in the bundle (if any)
Since: 0.8.0
“file”
property“file” GFile *
The bundle file that this ref refers to.
Owner: KaimingBundleRef
Flags: Read / Write / Construct Only