Versions in this module Expand all Collapse all v0 v0.2.0 Jun 7, 2026 Changes in this version + type Config struct + Debounce time.Duration + Exclude []string + Include []string + Paths []string + Recursive bool + func DefaultConfig() *Config + type Event struct + Op fsnotify.Op + Path string + Time time.Time + type Watcher struct + func New(cfg *Config) (*Watcher, error) + func (w *Watcher) Close() error + func (w *Watcher) OnChange(fn func(Event) error) + func (w *Watcher) Watch(ctx context.Context) error