()
| 329 | } |
| 330 | |
| 331 | func (v *Reference) Type() ReferenceType { |
| 332 | ret := ReferenceType(C.git_reference_type(v.ptr)) |
| 333 | runtime.KeepAlive(v) |
| 334 | return ret |
| 335 | } |
| 336 | |
| 337 | func (v *Reference) IsBranch() bool { |
| 338 | ret := C.git_reference_is_branch(v.ptr) == 1 |
nothing calls this directly
no test coverage detected