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

Function newNoteFromC

note.go:148–152  ·  view source on GitHub ↗
(ptr *C.git_note, r *Repository)

Source from the content-addressed store, hash-verified

146}
147
148func newNoteFromC(ptr *C.git_note, r *Repository) *Note {
149 note := &Note{ptr: ptr, r: r}
150 runtime.SetFinalizer(note, (*Note).Free)
151 return note
152}
153
154// Free frees a git_note object
155func (n *Note) Free() error {

Callers 1

ReadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…