libgit2

git_oid_mkraw

Version:

Copy an already raw oid into a git_oid structure.

Signature

void git_oid_mkraw(git_oid *out, const unsigned char *raw);

Parameters

In
out

oid structure the result is written into.

const unsigned char *
In
raw

the raw input bytes to be copied.

Versions