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

Method Refresh

odb.go:179–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177}
178
179func (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
192func (odb *Odb) WriteMultiPackIndex() error {
193 runtime.LockOSThread()

Callers

nothing calls this directly

Calls 1

MakeGitErrorFunction · 0.85

Tested by

no test coverage detected