Top | ![]() |
![]() |
![]() |
![]() |
GFile * | xdg_app_remote_get_appstream_dir () |
GFile * | xdg_app_remote_get_appstream_timestamp () |
gboolean | xdg_app_remote_get_gpg_verify () |
const char * | xdg_app_remote_get_name () |
gboolean | xdg_app_remote_get_noenumerate () |
int | xdg_app_remote_get_prio () |
char * | xdg_app_remote_get_title () |
char * | xdg_app_remote_get_url () |
A XdgAppRemote object provides information about a remote repository (or short: remote) that has been configured.
At its most basic level, a remote has a name and the URL for the repository. In addition, they provide some additional information that can be useful when presenting repositories in a UI, such as a title, a priority or a "don't enumerate" flags.
To obtain XdgAppRemote objects for the configured remotes
on a system, use xdg_app_installation_list_remotes()
or
xdg_app_installation_get_remote_by_name()
.
GFile * xdg_app_remote_get_appstream_dir (XdgAppRemote *self
,const char *arch
);
Returns the directory where this remote will store locally cached
appstream information for the specified arch
.
GFile * xdg_app_remote_get_appstream_timestamp (XdgAppRemote *self
,const char *arch
);
Returns the timestamp file that will be updated whenever the appstream information
has been updated (or tried to update) for the specified arch
.
gboolean
xdg_app_remote_get_gpg_verify (XdgAppRemote *self
);
Returns whether GPG verification is enabled for the remote.
const char *
xdg_app_remote_get_name (XdgAppRemote *self
);
Returns the name of the remote repository.
gboolean
xdg_app_remote_get_noenumerate (XdgAppRemote *self
);
Returns whether this remote should be used to list applications.
int
xdg_app_remote_get_prio (XdgAppRemote *self
);
Returns the priority for the remote.
char *
xdg_app_remote_get_title (XdgAppRemote *self
);
Returns the title of the remote.
char *
xdg_app_remote_get_url (XdgAppRemote *self
);
Returns the repository URL of this remote.