()
| 97 | } |
| 98 | |
| 99 | func (v *RevWalk) PushHead() (err error) { |
| 100 | runtime.LockOSThread() |
| 101 | defer runtime.UnlockOSThread() |
| 102 | |
| 103 | ecode := C.git_revwalk_push_head(v.ptr) |
| 104 | runtime.KeepAlive(v) |
| 105 | if ecode < 0 { |
| 106 | err = MakeGitError(ecode) |
| 107 | } |
| 108 | return nil |
| 109 | } |
| 110 | |
| 111 | func (v *RevWalk) Hide(id *Oid) error { |
| 112 | runtime.LockOSThread() |
nothing calls this directly
no test coverage detected