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

Function newRemoteHeadFromC

remote.go:315–320  ·  view source on GitHub ↗
(ptr *C.git_remote_head)

Source from the content-addressed store, hash-verified

313}
314
315func newRemoteHeadFromC(ptr *C.git_remote_head) RemoteHead {
316 return RemoteHead{
317 Id: newOidFromC(&ptr.oid),
318 Name: C.GoString(ptr.name),
319 }
320}
321
322func untrackCallbacksPayload(callbacks *C.git_remote_callbacks) {
323 if callbacks == nil || callbacks.payload == nil {

Callers 1

LsMethod · 0.85

Calls 1

newOidFromCFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…