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

Method IsTag

reference.go:349–353  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347}
348
349func (v *Reference) IsTag() bool {
350 ret := C.git_reference_is_tag(v.ptr) == 1
351 runtime.KeepAlive(v)
352 return ret
353}
354
355// IsNote checks if the reference is a note.
356func (v *Reference) IsNote() bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected