MCPcopy Create free account
hub / github.com/libgit2/git2go / WriteMultiPackIndex

Method WriteMultiPackIndex

odb.go:192–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190}
191
192func (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
205type OdbForEachCallback func(id *Oid) error
206type odbForEachCallbackData struct {

Callers

nothing calls this directly

Calls 1

MakeGitErrorFunction · 0.85

Tested by

no test coverage detected