branch

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package branch allows to perform operations like generating a new branch name

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateName

func GenerateName(id string, title string, maxLen int) (string, error)

GenerateName generates a new branch name off of the identifier and title specified. Both the identifier and title must not be blank. Leading hyphens (prefix and suffix) are removed from the name returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL