From dfe6d1ab7efa8bb480616eb5f3962989b4ac3096 Mon Sep 17 00:00:00 2001 From: Aidan Nulman Date: Wed, 18 Dec 2013 17:25:54 -0500 Subject: Stop assuming ODB backend includes wrapping routine; wrap in git2go instead --- odb.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'odb.go') diff --git a/odb.go b/odb.go index eaa7872..acde696 100644 --- a/odb.go +++ b/odb.go @@ -17,6 +17,10 @@ type Odb struct { ptr *C.git_odb } +type OdbBackend struct { + ptr *C.git_odb_backend +} + func (v *Odb) Exists(oid *Oid) bool { ret := C.git_odb_exists(v.ptr, oid.toC()) return ret != 0 -- cgit v1.2.3