committypes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllTypes

func AllTypes() []string

AllTypes returns the list of valid conventional commit types.

func BuildRegexPatternWithEmoji

func BuildRegexPatternWithEmoji() *regexp.Regexp

BuildRegexPatternWithEmoji returns a precompiled regex that matches the Conventional Commit type with an optional emoji and scope.

func IsValidCommitType

func IsValidCommitType(t string) bool

IsValidCommitType checks if the provided commit type is in the list of valid types.

func TypesRegexPattern

func TypesRegexPattern() string

TypesRegexPattern returns a string that can be used to match valid commit types in a regex.

Types

This section is empty.

Jump to

Keyboard shortcuts

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