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

Method Type

reference.go:331–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329}
330
331func (v *Reference) Type() ReferenceType {
332 ret := ReferenceType(C.git_reference_type(v.ptr))
333 runtime.KeepAlive(v)
334 return ret
335}
336
337func (v *Reference) IsBranch() bool {
338 ret := C.git_reference_is_branch(v.ptr) == 1

Callers

nothing calls this directly

Calls 1

ReferenceTypeTypeAlias · 0.85

Tested by

no test coverage detected