Method

GgitOIdcopy

Declaration [src]

GgitOId*
ggit_oid_copy (
  GgitOId* oid
)

Description [src]

Copies oid into a newly allocated GgitOId.

Return value

Type: GgitOId

A newly allocated GgitOId.

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