示例#1
0
文件: odb.go 项目: joshi4/shortbread
func (v *Odb) Exists(oid *Oid) bool {
	ret := C.git_odb_exists(v.ptr, oid.toC())
	return ret != 0
}
示例#2
0
文件: odb.go 项目: jgrocho/go-git2
func (odb *Odb) Exists(oid *Oid) bool {
	return C.git_odb_exists(odb.git_odb, oid.git_oid) != c_FALSE
}