Force returns the refspec's force-update setting
()
| 74 | |
| 75 | // Force returns the refspec's force-update setting |
| 76 | func (s *Refspec) Force() bool { |
| 77 | force := C.git_refspec_force(s.ptr) |
| 78 | return force != 0 |
| 79 | } |
| 80 | |
| 81 | // String returns the refspec's string representation |
| 82 | func (s *Refspec) String() string { |