Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/git2go
/ String
Method
String
git.go:239–241 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
237
}
238
239
func
(oid *Oid) String() string {
240
return
hex.EncodeToString(oid[:])
241
}
242
243
func
(oid *Oid) Cmp(oid2 *Oid) int {
244
return
bytes.Compare(oid[:], oid2[:])
Callers
15
TestMempack
Function · 0.95
TestOdbBackendLoose
Function · 0.95
TestPatch
Function · 0.45
TestCreateCommitFromIds
Function · 0.45
TestCreateNote
Function · 0.45
TestRemoteSSH
Function · 0.45
TestRebaseGpgSigned
Function · 0.45
operationsAreEqual
Function · 0.45
checkObject
Function · 0.45
TestStash
Function · 0.45
checkStashes
Function · 0.45
MakeGitError
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestMempack
Function · 0.76
TestOdbBackendLoose
Function · 0.76
TestPatch
Function · 0.36
TestCreateCommitFromIds
Function · 0.36
TestCreateNote
Function · 0.36
TestRemoteSSH
Function · 0.36
TestRebaseGpgSigned
Function · 0.36
operationsAreEqual
Function · 0.36
checkObject
Function · 0.36
TestStash
Function · 0.36
checkStashes
Function · 0.36
TestIndexerOutOfOrder
Function · 0.36