format

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxLabelLength = 63
)

Variables

This section is empty.

Functions

func FormatBranch

func FormatBranch(branch string) string

FormatBranch will modify the branch name input to something that can be accepted as a label value.

func ShortBranchName

func ShortBranchName(branch string) string

ShortBranchName is to limit the length of the branch string that is searched for

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳