diff options
| author | Aidan Nulman <[email protected]> | 2013-12-18 17:25:54 -0500 |
|---|---|---|
| committer | Aidan Nulman <[email protected]> | 2013-12-18 17:25:54 -0500 |
| commit | dfe6d1ab7efa8bb480616eb5f3962989b4ac3096 (patch) | |
| tree | 22c9655e9a5d38f7daa3da66c81788a9016e7b04 /odb.go | |
| parent | 66dfbbf5399182d4b307a236042a845ca7a1ed15 (diff) | |
Stop assuming ODB backend includes wrapping routine; wrap in git2go instead
Diffstat (limited to 'odb.go')
| -rw-r--r-- | odb.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
