(branch string, prefix string)
| 165 | } |
| 166 | |
| 167 | func removePrefix(branch string, prefix string) string { |
| 168 | if !strings.HasPrefix(branch, prefix) { |
| 169 | return branch |
| 170 | } |
| 171 | return branch[len(prefix):] |
| 172 | } |
| 173 | |
| 174 | func (branch Branch) removeWipQualifier(localBranches []string, configuration config.Configuration) Branch { |
| 175 | for !branch.exists(localBranches) && branch.hasWipBranchQualifierSeparator(configuration) { |
no outgoing calls
no test coverage detected