InstalledRef
- 
class InstalledRef(**properties: Any)
 
Superclasses: Ref, Object
- Constructors:
 
 
InstalledRef(**properties)
 
 
Methods
- 
class InstalledRef
 
- 
get_appdata_content_rating() → dict[str, str] | None
 
Returns the content rating field from the appdata. This is a potentially
empty mapping of content rating attribute IDs to values, to be interpreted
by the semantics of the content rating type (see
get_appdata_content_rating_type()).
- 
get_appdata_content_rating_type() → str | None
 
Returns the content rating type from the appdata. For example, oars-1.0 or
oars-1.1.
- 
get_appdata_license() → str
 
Returns the license field from the appdata.
- 
get_appdata_name() → str
 
Returns the name field from the appdata.
The returned string is localized.
- 
get_appdata_summary() → str
 
Returns the summary field from the appdata.
The returned string is localized.
- 
get_appdata_version() → str
 
Returns the default version field from the appdata.
- 
get_deploy_dir() → str
 
Gets the deploy dir of the ref.
- 
get_eol() → str
 
Returns the end-of-life reason string, or None if the
ref is not end-of-lifed.
- 
get_eol_rebase() → str
 
Returns the end-of-life rebased ref, or None if the
ref is not end-of-lifed.
- 
get_installed_size() → int
 
Returns the installed size of the ref.
- 
get_is_current() → bool
 
Returns whether the ref is current.
- 
get_latest_commit() → str | None
 
Gets the latest commit of the ref.
- 
get_origin() → str
 
Gets the origin of the ref.
- 
get_subpaths() → list[str]
 
Returns the subpaths that are installed, or None if all files installed.
- 
load_appdata(cancellable: Cancellable | None = None) → Bytes
 
Loads the compressed xml appdata for this ref (if it exists).
- Parameters:
 
cancellable – a Cancellable
 
- 
load_metadata(cancellable: Cancellable | None = None) → Bytes
 
Loads the metadata file for this ref.
- Parameters:
 
cancellable – a Cancellable
 
Properties
- 
class InstalledRef
 
- 
props.appdata_content_rating: dict[Any, Any]
 
The type of the None singleton.
- 
props.appdata_content_rating_type: str
 
The type of the None singleton.
- 
props.appdata_license: str
 
The type of the None singleton.
- 
props.appdata_name: str
 
The type of the None singleton.
- 
props.appdata_summary: str
 
The type of the None singleton.
- 
props.appdata_version: str
 
The type of the None singleton.
- 
props.deploy_dir: str
 
The type of the None singleton.
- 
props.end_of_life: str
 
The type of the None singleton.
- 
props.end_of_life_rebase: str
 
The type of the None singleton.
- 
props.installed_size: int
 
The type of the None singleton.
- 
props.is_current: bool
 
The type of the None singleton.
- 
props.latest_commit: str
 
The type of the None singleton.
- 
props.origin: str
 
The type of the None singleton.
- 
props.subpaths: list[str]
 
The type of the None singleton.
Fields
- 
class InstalledRef
 
- 
parent