func (revwalk *Revwalk) Hide(oid *Oid) error { ecode := C.git_revwalk_hide(revwalk.git_revwalk, oid.git_oid) if ecode != git_SUCCESS { return gitError() } return nil }
func (v *RevWalk) Hide(id *Oid) error { runtime.LockOSThread() defer runtime.UnlockOSThread() ecode := C.git_revwalk_hide(v.ptr, id.toC()) if ecode < 0 { return MakeGitError(ecode) } return nil }