Free releases a refspec object which has been created by ParseRefspec
()
| 36 | |
| 37 | // Free releases a refspec object which has been created by ParseRefspec |
| 38 | func (s *Refspec) Free() { |
| 39 | runtime.SetFinalizer(s, nil) |
| 40 | C.git_refspec_free(s.ptr) |
| 41 | } |
| 42 | |
| 43 | // Direction returns the refspec's direction |
| 44 | func (s *Refspec) Direction() ConnectDirection { |
nothing calls this directly
no outgoing calls
no test coverage detected