MCPcopy Create free account
hub / github.com/libgit2/git2go / IsZero

Method IsZero

git.go:256–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254}
255
256func (oid *Oid) IsZero() bool {
257 return *oid == Oid{}
258}
259
260func (oid *Oid) NCmp(oid2 *Oid, n uint) int {
261 return bytes.Compare(oid[:n], oid2[:n])

Callers 1

TestOidZeroFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestOidZeroFunction · 0.76