commit

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCommitMsg

func ValidateCommitMsg(message string) error

ValidateCommitMsg is validating the given commit message looking some regexp rules. RegExp rules produced based a couple policies where the policies defined https://www.conventionalcommits.org

func ValidateCommitMsgFromFile

func ValidateCommitMsgFromFile(path string) error

ValidateCommitMsgFromFile is validate the commit message where is given file

Types

This section is empty.

Jump to

Keyboard shortcuts

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