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

Method IsBranch

reference.go:337–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

335}
336
337func (v *Reference) IsBranch() bool {
338 ret := C.git_reference_is_branch(v.ptr) == 1
339 runtime.KeepAlive(v)
340 return ret
341}
342
343func (v *Reference) IsRemote() bool {
344 ret := C.git_reference_is_remote(v.ptr) == 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected