git_oid_fromstrp

Parse a hex formatted null-terminated string into a git_oid.

extern (C) nothrow @nogc
int
git_oid_fromstrp
(,
const(char)* str
)

Parameters

out_ .git_oid*

oid structure the result is written into.

str const(char)*

input hex string; must be null-terminated.

Return Value

Type: int

0 or an error code

Meta