Direction returns the refspec's direction
()
| 42 | |
| 43 | // Direction returns the refspec's direction |
| 44 | func (s *Refspec) Direction() ConnectDirection { |
| 45 | direction := C.git_refspec_direction(s.ptr) |
| 46 | return ConnectDirection(direction) |
| 47 | } |
| 48 | |
| 49 | // Src returns the refspec's source specifier |
| 50 | func (s *Refspec) Src() string { |