Method

GgitObjectget_id

Declaration [src]

GgitOId*
ggit_object_get_id (
  GgitObject* object
)

Description [src]

Gets the GgitOId of object.

Return value

Type: GgitOId

The GgitOId of the object 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.