(s interface{})
| 1045 | } |
| 1046 | |
| 1047 | func ReverseSlice(s interface{}) { |
| 1048 | size := reflect.ValueOf(s).Len() |
| 1049 | swap := reflect.Swapper(s) |
| 1050 | for i, j := 0, size-1; i < j; i, j = i+1, j-1 { |
| 1051 | swap(i, j) |
| 1052 | } |
| 1053 | } |
| 1054 | |
| 1055 | func isNothingToCommit() bool { |
| 1056 | output := silentgit("status", "--porcelain") |
no outgoing calls
no test coverage detected