Method

AppStreamComponentset_branch

Declaration [src]

void
as_component_set_branch (
  AsComponent* cpt,
  const gchar* branch
)

Description [src]

Set the branch that the component instance was sourced from.

Available since:0.14.0

Parameters

branch const gchar*
 

The branch, e.g. “master” or “3-16”.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.