libgit2

git_oid_cpy

Version:

Copy an oid from one structure to another.

Signature

int git_oid_cpy(git_oid *out, const git_oid *src);

Parameters

In
out

oid structure the result is written into.

In
src

oid structure to copy from.

Returns

int

0 on success or error code

Versions