Versions in this module Expand all Collapse all v0 v0.17.15 May 11, 2026 v0.17.14 May 11, 2026 Changes in this version + const MaxBranchNameByteLength + var BranchNameIgnoreRegex = regexp.MustCompile(`[/.]*$`) + var BranchNameReplaceRegex = regexp.MustCompile(`[^-_/.a-zA-Z0-9]+`) + func CleanCommitMessage(message string) string + func GenerateBranchNameFromMessage(message string) string + func IsDemoMode() bool + func IsInteractive() bool + func IsTTY() bool + func OpenBrowser(url string) error — darwin/amd64, linux/amd64, windows/amd64 + func ProcessBranchNamePattern(pattern string, username, date, message string) string + func ReadFromStdin() (string, error) + func RunWithWorkers[T any](items []T, numWorkers int, worker func(item T)) + func Run[T any](items []T, worker func(item T)) + func SanitizeBranchName(name string) string + func SetInteractive(interactive bool) + func ShortRevision(rev string, maxLen int) string + func ValidateBranchName(name string) error + type BranchNameError struct + Name string + Reason string + func (e *BranchNameError) Error() string