Method

FlatpakRemoteget_main_ref

since: 1.1.1

Declaration [src]

char*
flatpak_remote_get_main_ref (
  FlatpakRemote* self
)

Description [src]

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

Available since: 1.1.1

Return value

Type: char*

The main ref, or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.