core

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 12 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
	Wait         time.Duration
	ExitOnChange 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