Method

GgitRepositorylookup_tag

Declaration [src]

GgitTag*
ggit_repository_lookup_tag (
  GgitRepository* repository,
  GgitOId* oid,
  GError** error
)

Description [src]

Lookups a branch by its name in a repository.

Parameters

oid GgitOId
 

A GgitOId.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GgitTag
 

A GgitTag pointer.

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