Class

FlatpakRemote

Description

class Flatpak.Remote : GObject.Object
{
  /* No available fields */
}

No description available.

Hierarchy

hierarchy this FlatpakRemote ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

flatpak_remote_new

Returns a new remote object which can be used to configure a new remote.

flatpak_remote_new_from_file

Returns a new pre-filled remote object which can be used to configure a new remote. The fields in the remote are filled in according to the values in the passed in flatpakrepo file.

since: 1.3.4

Instance methods

flatpak_remote_get_appstream_dir

Returns the directory where this remote will store locally cached appstream information for the specified arch.

flatpak_remote_get_appstream_timestamp

Returns the timestamp file that will be updated whenever the appstream information has been updated (or tried to update) for the specified arch.

flatpak_remote_get_collection_id

Returns the repository collection ID of this remote, if set.

flatpak_remote_get_comment

Returns the comment of the remote.

since: 1.4

flatpak_remote_get_default_branch

Returns the default branch configured for the remote.

since: 0.6.12

flatpak_remote_get_description

Returns the description of the remote.

since: 1.4

flatpak_remote_get_disabled

Returns whether this remote is disabled.

flatpak_remote_get_filter

Returns the filter file of the remote.

since: 1.4

flatpak_remote_get_gpg_verify

Returns whether GPG verification is enabled for the remote.

flatpak_remote_get_homepage

Returns the homepage url of the remote.

since: 1.4

flatpak_remote_get_icon

Returns the icon url of the remote.

since: 1.4

flatpak_remote_get_main_ref

Returns the main ref of this remote, if set. The main ref is the ref that an origin remote is created for.

since: 1.1.1

flatpak_remote_get_name

Returns the name of the remote repository.

flatpak_remote_get_nodeps

Returns whether this remote should be used to find dependencies.

flatpak_remote_get_noenumerate

Returns whether this remote should be used to list applications.

flatpak_remote_get_prio

Returns the priority for the remote.

flatpak_remote_get_remote_type

Get the value of FlatpakRemote:type.

since: 0.9.8

flatpak_remote_get_title

Returns the title of the remote.

flatpak_remote_get_url

Returns the repository URL of this remote.

flatpak_remote_set_collection_id

Sets the repository collection ID of this remote.

flatpak_remote_set_comment

Sets the comment of this remote.

since: 1.4

flatpak_remote_set_default_branch

Sets the default branch configured for this remote.

since: 0.6.12

flatpak_remote_set_description

Sets the description of this remote.

since: 1.4

flatpak_remote_set_disabled

Sets the disabled config of this remote. See flatpak_remote_get_disabled().

flatpak_remote_set_filter

Sets a filter for this remote.

since: 1.4

flatpak_remote_set_gpg_key

Sets the trusted gpg key for this remote.

flatpak_remote_set_gpg_verify

Sets the gpg_verify config of this remote. See flatpak_remote_get_gpg_verify().

flatpak_remote_set_homepage

Sets the homepage of this remote.

since: 1.4

flatpak_remote_set_icon

Sets the homepage of this remote.

since: 1.4

flatpak_remote_set_main_ref

Sets the main ref of this remote. The main ref is the ref that an origin remote is created for.

since: 1.1.1

flatpak_remote_set_nodeps

Sets the nodeps config of this remote. See flatpak_remote_get_nodeps().

flatpak_remote_set_noenumerate

Sets the noenumeration config of this remote. See flatpak_remote_get_noenumerate().

flatpak_remote_set_prio

Sets the prio config of this remote. See flatpak_remote_get_prio().

flatpak_remote_set_title

Sets the repository title of this remote.

flatpak_remote_set_url

Sets the repository URL of this remote.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Flatpak.Remote:name

Name of the remote, as used in configuration files and when interfacing with OSTree. This is typically human readable, but could be generated, and must conform to ostree_validate_remote_name(). It should typically not be presented in the UI.

Flatpak.Remote:type

The type of the remote: whether it comes from static configuration files (FLATPAK_REMOTE_TYPE_STATIC) or has been dynamically found from the local network or a mounted USB drive (FLATPAK_REMOTE_TYPE_LAN, FLATPAK_REMOTE_TYPE_USB). Dynamic remotes may be added and removed over time.

since: 0.9.8

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FlatpakRemoteClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.