func (commit *Commit) Author() *Signature { sig := new(Signature) sig.git_signature = C.git_commit_author(commit.git_commit) if sig.git_signature == nil { return nil } return sig }
func (c Commit) Author() *Signature { cast_ptr := C.git_commit_author(c.cast_ptr) return newSignatureFromC(cast_ptr) }
func (c *Commit) Author() *Signature { ptr := C.git_commit_author(c.ptr) return newSignatureFromC(ptr) }
func (c *Commit) Email() string { p := C.git_commit_author(c.git_commit) return C.GoString(p.email) }
func (c *Commit) Author() string { p := C.git_commit_author(c.git_commit) return C.GoString(p.name) }