git_oid_ncmp

Compare the first 'len' hexadecimal characters (packets of 4 bits) of two oid structures.

extern (C) nothrow @nogc
int
git_oid_ncmp
(
const(.git_oid)* a
,
const(.git_oid)* b
,
size_t len
)

Parameters

a const(.git_oid)*

first oid structure.

b const(.git_oid)*

second oid structure.

len size_t

the number of hex chars to compare

Return Value

Type: int

0 in case of a match

Meta