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

Function freeRemoteCreateOptions

remote.go:1249–1255  ·  view source on GitHub ↗
(ptr *C.git_remote_create_options)

Source from the content-addressed store, hash-verified

1247}
1248
1249func freeRemoteCreateOptions(ptr *C.git_remote_create_options) {
1250 if ptr == nil {
1251 return
1252 }
1253 C.free(unsafe.Pointer(ptr.name))
1254 C.free(unsafe.Pointer(ptr.fetchspec))
1255}
1256
1257// createNewEmptyRemote used to get a new empty object of *Remote
1258func createNewEmptyRemote() *Remote {

Callers 1

CreateWithOptionsMethod · 0.85

Calls 1

freeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…