Method

GgitAnnotatedCommitget_id

Declaration [src]

GgitOId*
ggit_annotated_commit_get_id (
  GgitAnnotatedCommit* annotated_commit
)

Description [src]

Gets the commit ID that the given annotated_commit refs to.

Return value

Returns: GgitOId
 

The commit ID that the given annotated_commit refs to or NULL.

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