BundleRef
-
class BundleRef(**properties: Any)
Superclasses: Ref
, Object
- Constructors:
BundleRef(**properties)
new(file:Gio.File) -> Flatpak.BundleRef
Constructors
-
class BundleRef
-
classmethod new(file: File) → BundleRef
Creates a new bundle ref for the given file.
- Parameters:
file – a File
Methods
-
class BundleRef
-
get_appstream() → Bytes
Get the compressed appstream for the app/runtime
-
get_file() → File
Get the file this bundle is stored in.
-
get_icon(size: int) → Bytes
Get the icon png data for the app/runtime
- Parameters:
size – 64 or 128
-
get_installed_size() → int
Returns the installed size for the bundle.
-
get_metadata() → Bytes
Get the metadata for the app/runtime
-
get_origin() → str
Get the origin url stored in the bundle
-
get_runtime_repo_url() → str
Get the runtime flatpakrepo url stored in the bundle (if any)
Properties
-
class BundleRef
-
props.file: File
The type of the None singleton.
Fields
-
class BundleRef
-
parent