(glob string)
| 122 | } |
| 123 | |
| 124 | func (v *RevWalk) HideGlob(glob string) error { |
| 125 | runtime.LockOSThread() |
| 126 | defer runtime.UnlockOSThread() |
| 127 | |
| 128 | cstr := C.CString(glob) |
| 129 | defer C.free(unsafe.Pointer(cstr)) |
| 130 | |
| 131 | ecode := C.git_revwalk_hide_glob(v.ptr, cstr) |
| 132 | runtime.KeepAlive(v) |
| 133 | if ecode < 0 { |
| 134 | return MakeGitError(ecode) |
| 135 | } |
| 136 | return nil |
| 137 | } |
| 138 | |
| 139 | func (v *RevWalk) HideRef(r string) error { |
| 140 | runtime.LockOSThread() |
nothing calls this directly
no test coverage detected