Top |
gboolean | should-autoprune | Read / Write / Construct Only |
gboolean | should-delete | Read / Write / Construct Only |
gboolean | should-download | Read / Write / Construct Only |
GStrv | subpaths | Read / Write / Construct Only |
A FlatpakRelatedRef provides information about a ref that is related to another ref. For instance, the local extension ref of an app.
FlatpakRelatedRef * flatpak_related_ref_new (const char *full_ref
,const char *commit
,char **subpaths
,gboolean download
,gboolean delete
);
Creates a new FlatpakRelatedRef object.
const char * const *
flatpak_related_ref_get_subpaths (FlatpakRelatedRef *self
);
Returns the subpaths that should be installed/updated for the ref.
This returns NULL
if all files should be installed.
Since: 0.6.7
gboolean
flatpak_related_ref_should_download (FlatpakRelatedRef *self
);
Returns whether to auto-download the ref with the main ref.
Since: 0.6.7
gboolean
flatpak_related_ref_should_delete (FlatpakRelatedRef *self
);
Returns whether to auto-delete the ref with the main ref.
Since: 0.6.7
gboolean
flatpak_related_ref_should_autoprune (FlatpakRelatedRef *self
);
Returns whether to delete when pruning unused refs.
Since: 0.11.8
“should-autoprune”
property“should-autoprune” gboolean
Whether to delete when pruning unused refs.
Owner: FlatpakRelatedRef
Flags: Read / Write / Construct Only
Default value: FALSE
“should-delete”
property“should-delete” gboolean
Whether to auto-delete the ref with the main ref.
Owner: FlatpakRelatedRef
Flags: Read / Write / Construct Only
Default value: FALSE
“should-download”
property“should-download” gboolean
Whether to auto-download the ref with the main ref.
Owner: FlatpakRelatedRef
Flags: Read / Write / Construct Only
Default value: FALSE
“subpaths”
property“subpaths” GStrv
The subpaths for a partially installed ref.
Owner: FlatpakRelatedRef
Flags: Read / Write / Construct Only