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

Method Author

note.go:166–169  ·  view source on GitHub ↗

Author returns the signature of the note author

()

Source from the content-addressed store, hash-verified

164
165// Author returns the signature of the note author
166func (n *Note) Author() *Signature {
167 ptr := C.git_note_author(n.ptr)
168 return newSignatureFromC(ptr)
169}
170
171// Id returns the note object's id
172func (n *Note) Id() *Oid {

Callers 2

TestCreateNoteFunction · 0.45
TestRemoveNoteFunction · 0.45

Calls 1

newSignatureFromCFunction · 0.85

Tested by 2

TestCreateNoteFunction · 0.36
TestRemoveNoteFunction · 0.36