()
| 190 | } |
| 191 | |
| 192 | func (odb *Odb) WriteMultiPackIndex() error { |
| 193 | runtime.LockOSThread() |
| 194 | defer runtime.UnlockOSThread() |
| 195 | |
| 196 | ret := C.git_odb_write_multi_pack_index(odb.ptr) |
| 197 | runtime.KeepAlive(odb) |
| 198 | if ret < 0 { |
| 199 | return MakeGitError(ret) |
| 200 | } |
| 201 | |
| 202 | return nil |
| 203 | } |
| 204 | |
| 205 | type OdbForEachCallback func(id *Oid) error |
| 206 | type odbForEachCallbackData struct { |
nothing calls this directly
no test coverage detected