Exemple #1
0
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
}
Exemple #2
0
func (c Commit) Author() *Signature {
	cast_ptr := C.git_commit_author(c.cast_ptr)
	return newSignatureFromC(cast_ptr)
}
Exemple #3
0
func (c *Commit) Author() *Signature {
	ptr := C.git_commit_author(c.ptr)
	return newSignatureFromC(ptr)
}
Exemple #4
0
func (c *Commit) Email() string {
	p := C.git_commit_author(c.git_commit)
	return C.GoString(p.email)
}
Exemple #5
0
func (c *Commit) Author() string {
	p := C.git_commit_author(c.git_commit)
	return C.GoString(p.name)
}