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

Method Equal

git.go:252–254  ·  view source on GitHub ↗
(oid2 *Oid)

Source from the content-addressed store, hash-verified

250}
251
252func (oid *Oid) Equal(oid2 *Oid) bool {
253 return *oid == *oid2
254}
255
256func (oid *Oid) IsZero() bool {
257 return *oid == Oid{}

Callers 9

TestMempackFunction · 0.95
TestCreateCommitFromIdsFunction · 0.80
startSSHServerFunction · 0.80
checkObjectFunction · 0.80
TestIndexerOutOfOrderFunction · 0.80
TestCreateBlobFromBufferFunction · 0.80
TestTreeBuilderInsertFunction · 0.80
TestOdbReadFunction · 0.80
TestOdbBackendLooseFunction · 0.80

Calls

no outgoing calls

Tested by 9

TestMempackFunction · 0.76
TestCreateCommitFromIdsFunction · 0.64
startSSHServerFunction · 0.64
checkObjectFunction · 0.64
TestIndexerOutOfOrderFunction · 0.64
TestCreateBlobFromBufferFunction · 0.64
TestTreeBuilderInsertFunction · 0.64
TestOdbReadFunction · 0.64
TestOdbBackendLooseFunction · 0.64