(oid *Oid)
| 130 | } |
| 131 | |
| 132 | func (v *Odb) Exists(oid *Oid) bool { |
| 133 | ret := C.git_odb_exists(v.ptr, oid.toC()) |
| 134 | runtime.KeepAlive(v) |
| 135 | runtime.KeepAlive(oid) |
| 136 | return ret != 0 |
| 137 | } |
| 138 | |
| 139 | func (v *Odb) Write(data []byte, otype ObjectType) (oid *Oid, err error) { |
| 140 | oid = new(Oid) |