()
| 152 | } |
| 153 | |
| 154 | func (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 | |
| 166 | func (v *RevWalk) Next(id *Oid) (err error) { |
| 167 | runtime.LockOSThread() |
nothing calls this directly
no test coverage detected