MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / exists

Method exists

mob.go:206–208  ·  view source on GitHub ↗
(existingBranches []string)

Source from the content-addressed store, hash-verified

204}
205
206func (branch Branch) exists(existingBranches []string) bool {
207 return stringContains(existingBranches, branch.Name)
208}
209
210func (branch Branch) hasWipBranchQualifierSeparator(configuration config.Configuration) bool { //TODO improve (dont use strings.Contains, add tests)
211 return strings.Contains(branch.Name, configuration.WipBranchQualifierSeparator)

Callers 2

removeWipQualifierMethod · 0.95
cleanFunction · 0.80

Calls 1

stringContainsFunction · 0.85

Tested by

no test coverage detected