Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
252
func
(oid *Oid) Equal(oid2 *Oid) bool {
253
return
*oid == *oid2
254
}
255
256
func
(oid *Oid) IsZero() bool {
257
return
*oid == Oid{}
Callers
9
TestMempack
Function · 0.95
TestCreateCommitFromIds
Function · 0.80
startSSHServer
Function · 0.80
checkObject
Function · 0.80
TestIndexerOutOfOrder
Function · 0.80
TestCreateBlobFromBuffer
Function · 0.80
TestTreeBuilderInsert
Function · 0.80
TestOdbRead
Function · 0.80
TestOdbBackendLoose
Function · 0.80
Calls
no outgoing calls
Tested by
9
TestMempack
Function · 0.76
TestCreateCommitFromIds
Function · 0.64
startSSHServer
Function · 0.64
checkObject
Function · 0.64
TestIndexerOutOfOrder
Function · 0.64
TestCreateBlobFromBuffer
Function · 0.64
TestTreeBuilderInsert
Function · 0.64
TestOdbRead
Function · 0.64
TestOdbBackendLoose
Function · 0.64