Versions in this module Expand all Collapse all v1 v1.0.0 May 14, 2026 Changes in this version + func IsWatchLimitError(err error) bool + type Event struct + Op Op + Path string + type Op int + const Create + const Remove + const Rename + const Write + func (o Op) String() string + type Watcher interface + Close func() error + Watch func(ctx context.Context) <-chan []Event + func New(cfg *config.Config, matchFn func(string) bool, fsys fs.FS) (Watcher, error)