git_oid_fromraw

Copy an already raw oid into a git_oid structure.

extern (C) nothrow @nogc
int
git_oid_fromraw
(,
const(ubyte)* raw
)

Parameters

out_ .git_oid*

oid structure the result is written into.

raw const(ubyte)*

the raw input bytes to be copied.

Return Value

Type: int

0 on success or error code

Meta