Functions
xdg_app_ref_format_ref ()
char *
xdg_app_ref_format_ref (XdgAppRef *self
);
xdg_app_ref_get_arch ()
const char *
xdg_app_ref_get_arch (XdgAppRef *self
);
xdg_app_ref_get_branch ()
const char *
xdg_app_ref_get_branch (XdgAppRef *self
);
xdg_app_ref_get_commit ()
const char *
xdg_app_ref_get_commit (XdgAppRef *self
);
xdg_app_ref_get_name ()
const char *
xdg_app_ref_get_name (XdgAppRef *self
);
xdg_app_ref_get_type ()
GType
xdg_app_ref_get_type (void
);
xdg_app_ref_parse ()
XdgAppRef *
xdg_app_ref_parse (const char *ref
,
GError **error
);
Tries to parse a full ref name and return a XdgAppRef (without a
commit set) or fail if the ref is invalid somehow.
Types and Values
struct XdgAppRef
struct XdgAppRef;
XdgAppRefClass
typedef struct {
GObjectClass parent_class;
} XdgAppRefClass;
enum XdgAppRefKind
Currently xdg-app manages two types of binary artifacts: applications, and
runtimes. Applications contain a program that desktop users can run, while
runtimes contain only libraries and data.
Property Details
The “arch”
property
“arch” gchar *
Flags: Read / Write
Default value: NULL
The “branch”
property
“branch” gchar *
Flags: Read / Write
Default value: NULL
The “commit”
property
“commit” gchar *
Flags: Read / Write
Default value: NULL
The “kind”
property
“kind” XdgAppRefKind
Flags: Read / Write
Default value: XDG_APP_REF_KIND_APP
The “name”
property
“name” gchar *
Flags: Read / Write
Default value: NULL