config

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Rehash map[string]*Rehash `json:"rehash"`
}

func NewFromFile

func NewFromFile(path string) (*Config, error)

type Rehash

type Rehash struct {
	Includes []*regexp.Regexp
	Excludes []*regexp.Regexp
}

func (*Rehash) Target

func (r *Rehash) Target(name string) bool

func (*Rehash) UnmarshalJSON added in v0.0.34

func (r *Rehash) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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