예제 #1
0
파일: object.go 프로젝트: jgrocho/go-git2
func ObjectType2String(form ObjectType) string {
	return C.GoString(C.git_object_type2string(C.git_otype(form)))
}
예제 #2
0
파일: object.go 프로젝트: tmc/goit
func (o Object) Type() string {
	return C.GoString(C.git_object_type2string(C.git_object_type(o.obj)))
}