示例#1
0
文件: reference.go 项目: tmc/goit
// Returns the name of the reference
func (r Reference) Name() string {
	return C.GoString(C.git_reference_name(r.ref))
}
示例#2
0
func (v *Reference) Name() string {
	return C.GoString(C.git_reference_name(v.ptr))
}
示例#3
0
func (ref *Reference) Name() string {
	return C.GoString(C.git_reference_name(ref.git_reference))
}