Dst returns the refspec's destination specifier
()
| 61 | |
| 62 | // Dst returns the refspec's destination specifier |
| 63 | func (s *Refspec) Dst() string { |
| 64 | var ret string |
| 65 | cstr := C.git_refspec_dst(s.ptr) |
| 66 | |
| 67 | if cstr != nil { |
| 68 | ret = C.GoString(cstr) |
| 69 | } |
| 70 | |
| 71 | runtime.KeepAlive(s) |
| 72 | return ret |
| 73 | } |
| 74 | |
| 75 | // Force returns the refspec's force-update setting |
| 76 | func (s *Refspec) Force() bool { |