watch

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Paths     []string
	Debounce  time.Duration
	Poll      time.Duration
	Stderr    io.Writer
	OnTrigger func(time.Time) error
}

type Runner

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

func New

func New(repoRoot string) *Runner

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, opts Options) error

Jump to

Keyboard shortcuts

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