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