IsForceUpdate returns if update is allowed in non fast-forward merges.
()
| 51 | |
| 52 | // IsForceUpdate returns if update is allowed in non fast-forward merges. |
| 53 | func (s RefSpec) IsForceUpdate() bool { |
| 54 | return s[0] == refSpecForce[0] |
| 55 | } |
| 56 | |
| 57 | // IsDelete returns true if the refspec indicates a delete (empty src). |
| 58 | func (s RefSpec) IsDelete() bool { |
no outgoing calls