name

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package name provides types and functionality to work with configuration of branch names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config represents configuration rules for branch names.

func NewConfig

func NewConfig(pattern value.String) Config

NewConfig creates a new Config instance with provided pattern config value.

func (Config) Pattern

func (c Config) Pattern() value.String

Pattern returns pattern config value.

func (Config) Validate added in v0.1.2

func (c Config) Validate() error

Validate checks the branch name pattern configuration for correctness.

Jump to

Keyboard shortcuts

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