(id *Oid)
| 109 | } |
| 110 | |
| 111 | func (v *RevWalk) Hide(id *Oid) error { |
| 112 | runtime.LockOSThread() |
| 113 | defer runtime.UnlockOSThread() |
| 114 | |
| 115 | ecode := C.git_revwalk_hide(v.ptr, id.toC()) |
| 116 | runtime.KeepAlive(v) |
| 117 | runtime.KeepAlive(id) |
| 118 | if ecode < 0 { |
| 119 | return MakeGitError(ecode) |
| 120 | } |
| 121 | return nil |
| 122 | } |
| 123 | |
| 124 | func (v *RevWalk) HideGlob(glob string) error { |
| 125 | runtime.LockOSThread() |
nothing calls this directly
no test coverage detected