Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/remotemobprogramming/mob
/ newBranch
Function
newBranch
mob.go:93–97 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
91
}
92
93
func
newBranch(name string) Branch {
94
return
Branch{
95
Name: strings.TrimSpace(name),
96
}
97
}
98
99
func
(branch Branch) String() string {
100
return
branch.Name
Callers
15
assertDetermineBranches
Function · 0.85
TestRemoveWipPrefix
Function · 0.85
TestRemoveWipBranchQualifier
Function · 0.85
TestRemoveWipBranchQualifierWithoutBranchQualifierSet
Function · 0.85
assertMobSessionBranches
Function · 0.85
assertLocalBranch
Function · 0.85
assertNoLocalBranch
Function · 0.85
assertNoMobSessionBranches
Function · 0.85
remote
Method · 0.85
addWipPrefix
Method · 0.85
addWipQualifier
Method · 0.85
removeWipPrefix
Method · 0.85
Calls
no outgoing calls
Tested by
8
assertDetermineBranches
Function · 0.68
TestRemoveWipPrefix
Function · 0.68
TestRemoveWipBranchQualifier
Function · 0.68
TestRemoveWipBranchQualifierWithoutBranchQualifierSet
Function · 0.68
assertMobSessionBranches
Function · 0.68
assertLocalBranch
Function · 0.68
assertNoLocalBranch
Function · 0.68
assertNoMobSessionBranches
Function · 0.68