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

Method RefspecCount

remote.go:973–977  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

971}
972
973func (o *Remote) RefspecCount() uint {
974 count := C.git_remote_refspec_count(o.ptr)
975 runtime.KeepAlive(o)
976 return uint(count)
977}
978
979func populateFetchOptions(copts *C.git_fetch_options, opts *FetchOptions, errorTarget *error) *C.git_fetch_options {
980 C.git_fetch_options_init(copts, C.GIT_FETCH_OPTIONS_VERSION)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected