configuration

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultDictionaryCommitRef = "refs/heads/master"

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Sources  Sources
	Patterns Patterns
}

func New

func New(directory string, filename string) *Configuration

type EnglishDictionary added in v2.4.0

type EnglishDictionary struct {
	CommitRef       string `yaml:"commit_ref"`
	WasCommitRefSet bool
}

type Pattern

type Pattern struct {
	Unix    string
	Windows string
}

type Patterns

type Patterns struct {
	AntiEvasion              Pattern `yaml:"anti_evasion"`
	AntiEvasionSuffix        Pattern `yaml:"anti_evasion_suffix"`
	AntiEvasionNoSpaceSuffix Pattern `yaml:"anti_evasion_no_space_suffix"`
}

type Sources added in v2.4.0

type Sources struct {
	EnglishDictionary EnglishDictionary `yaml:"english_dictionary,omitempty"`
}

Jump to

Keyboard shortcuts

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