(value string)
| 106 | } |
| 107 | |
| 108 | func splitCSV(value string) []string { |
| 109 | parts := strings.Split(value, ",") |
| 110 | out := make([]string, 0, len(parts)) |
| 111 | for _, part := range parts { |
| 112 | part = strings.TrimSpace(part) |
| 113 | if part != "" { |
| 114 | out = append(out, part) |
| 115 | } |
| 116 | } |
| 117 | return out |
| 118 | } |
| 119 | |
| 120 | type protocolMode gitsync.ProtocolMode |
| 121 | type operationMode gitsync.OperationMode |
no outgoing calls
no test coverage detected