Method

GgitRefget_owner

Declaration [src]

GgitRepository*
ggit_ref_get_owner (
  GgitRef* ref
)

Description [src]

Gets the repository where ref resides.

Return value

Type: GgitRepository

The repository where a reference resides or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.