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

Method HideHead

walk.go:154–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152}
153
154func (v *RevWalk) HideHead() (err error) {
155 runtime.LockOSThread()
156 defer runtime.UnlockOSThread()
157
158 ecode := C.git_revwalk_hide_head(v.ptr)
159 runtime.KeepAlive(v)
160 if ecode < 0 {
161 err = MakeGitError(ecode)
162 }
163 return nil
164}
165
166func (v *RevWalk) Next(id *Oid) (err error) {
167 runtime.LockOSThread()

Callers

nothing calls this directly

Calls 1

MakeGitErrorFunction · 0.85

Tested by

no test coverage detected