Versions in this module Expand all Collapse all v0 v0.0.3 Feb 7, 2024 v0.0.2 Jun 22, 2023 v0.0.1 Jun 22, 2023 Changes in this version + var Stop = errors.New("stop watching") + func Watch(ctx context.Context, dir string, fn func(events []Event) error) error + type Event struct + Op Op + Path string + func (e Event) String() string + type Op string + const OpCreate + const OpDelete + const OpUpdate