Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/git2go
/ Copy
Method
Copy
git.go:247–250 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
245
}
246
247
func
(oid *Oid) Copy() *Oid {
248
ret := *oid
249
return
&ret
250
}
251
252
func
(oid *Oid) Equal(oid2 *Oid) bool {
253
return
*oid == *oid2
Callers
1
newChannelPipe
Function · 0.80
Calls
no outgoing calls
Tested by
1
newChannelPipe
Function · 0.64