()
| 177 | } |
| 178 | |
| 179 | func (odb *Odb) Refresh() error { |
| 180 | runtime.LockOSThread() |
| 181 | defer runtime.UnlockOSThread() |
| 182 | |
| 183 | ret := C.git_odb_refresh(odb.ptr) |
| 184 | runtime.KeepAlive(odb) |
| 185 | if ret < 0 { |
| 186 | return MakeGitError(ret) |
| 187 | } |
| 188 | |
| 189 | return nil |
| 190 | } |
| 191 | |
| 192 | func (odb *Odb) WriteMultiPackIndex() error { |
| 193 | runtime.LockOSThread() |
nothing calls this directly
no test coverage detected