core

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, conf *Config) error

Types

type Config

type Config struct {
	DryRun          bool
	Includes        []string
	Excludes        []string
	Args            []string
	Debounce        time.Duration
	GracefulTimeout time.Duration
	ExitOnChange    bool
	ContentCheck    bool
	Interactive     bool
}

func NewConfig

func NewConfig() *Config

func (*Config) Validate added in v0.1.1

func (conf *Config) Validate() error

type Debouncer

type Debouncer struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Debouncer) Call

func (d *Debouncer) Call(fn func() error)

func (*Debouncer) Err

func (d *Debouncer) Err() <-chan error

Jump to

Keyboard shortcuts

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