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

Method IsNote

reference.go:356–360  ·  view source on GitHub ↗

IsNote checks if the reference is a note.

()

Source from the content-addressed store, hash-verified

354
355// IsNote checks if the reference is a note.
356func (v *Reference) IsNote() bool {
357 ret := C.git_reference_is_note(v.ptr) == 1
358 runtime.KeepAlive(v)
359 return ret
360}
361
362func (v *Reference) Free() {
363 runtime.SetFinalizer(v, nil)

Callers 1

TestIsNoteFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestIsNoteFunction · 0.64