Beispiel #1
0
func ObjectType2String(form ObjectType) string {
	return C.GoString(C.git_object_type2string(C.git_otype(form)))
}
Beispiel #2
0
func (o Object) Type() string {
	return C.GoString(C.git_object_type2string(C.git_object_type(o.obj)))
}