(options?: { forceWithLease: boolean })
| 992 | } |
| 993 | |
| 994 | private push(options?: { forceWithLease: boolean }) { |
| 995 | const state = this.state.selectedState |
| 996 | if (state == null || state.type !== SelectionType.Repository) { |
| 997 | return |
| 998 | } |
| 999 | |
| 1000 | if (options && options.forceWithLease) { |
| 1001 | this.props.dispatcher.confirmOrForcePush(state.repository) |
| 1002 | } else { |
| 1003 | this.props.dispatcher.push(state.repository) |
| 1004 | } |
| 1005 | } |
| 1006 | |
| 1007 | private async pull() { |
| 1008 | const state = this.state.selectedState |
no test coverage detected