Method

GgitOIdcopy

Declaration [src]

GgitOId*
ggit_oid_copy (
  GgitOId* oid
)

Description [src]

Copies oid into a newly allocated GgitOId.

Return value

Returns: GgitOId
 

A newly allocated GgitOId.

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