Method

GgitReflookup

Declaration [src]

GgitObject*
ggit_ref_lookup (
  GgitRef* ref
  GError** error
)

Description [src]

Convenient method to resolve a reference to an object.

Return value

Returns: GgitObject
 

A GgitObject or NULL.

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