Flatpak.RelatedRef

g Flatpak.Ref Flatpak.Ref Flatpak.RelatedRef Flatpak.RelatedRef Flatpak.Ref->Flatpak.RelatedRef GObject.Object GObject.Object GObject.Object->Flatpak.Ref

Subclasses:

None

Methods

Inherited:

Flatpak.Ref (9), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_subpaths ()

should_autoprune ()

should_delete ()

should_download ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Flatpak.Ref (6)

Name

Type

Flags

Short Description

should-autoprune

bool

r/w/co

Whether to delete when pruning unused refs

should-delete

bool

r/w/co

Whether to auto-delete the ref with the main ref

should-download

bool

r/w/co

Whether to auto-download the ref with the main ref

subpaths

[str]

r/w/co

The subpaths for a partially installed ref

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Flatpak.Ref

r

Class Details

class Flatpak.RelatedRef(**kwargs)
Bases:

Flatpak.Ref

Abstract:

No

Structure:

Flatpak.RelatedRefClass

get_subpaths()
Returns:

A strv, or None

Return type:

[str]

Returns the subpaths that should be installed/updated for the ref. This returns None if all files should be installed.

New in version 0.6.7.

should_autoprune()
Returns:

True if the ref should be considered unused when pruning.

Return type:

bool

Returns whether to delete when pruning unused refs.

New in version 0.11.8.

should_delete()
Returns:

True if the ref should be deleted with the main ref.

Return type:

bool

Returns whether to auto-delete the ref with the main ref.

New in version 0.6.7.

should_download()
Returns:

True if the ref should be downloaded with the main ref.

Return type:

bool

Returns whether to auto-download the ref with the main ref.

New in version 0.6.7.

Property Details

Flatpak.RelatedRef.props.should_autoprune
Name:

should-autoprune

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Whether to delete when pruning unused refs

Flatpak.RelatedRef.props.should_delete
Name:

should-delete

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Whether to auto-delete the ref with the main ref

Flatpak.RelatedRef.props.should_download
Name:

should-download

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Whether to auto-download the ref with the main ref

Flatpak.RelatedRef.props.subpaths
Name:

subpaths

Type:

[str]

Default Value:

[]

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The subpaths for a partially installed ref