Versions in this module Expand all Collapse all v1 v1.0.1 Mar 13, 2024 v1.0.0 Mar 9, 2024 Changes in this version + func GetFileNameEndingWithSeparator(path string) string — darwin/amd64, js/wasm, linux/amd64 + type Event struct + Name string + Op Op + type Op fsnotify.Op — darwin/amd64, js/wasm, linux/amd64 + const All + const Create + const Remove + const Write + func (e *Op) Has(h Op) bool + func (e *Op) String() string + type Op notify.Event — windows/amd64 + const Rename + type Watcher struct + Errors <-chan error + Events <-chan Event + func NewWatcherRecursive(path string) (*Watcher, error) + func NewWatcherRecursive(rootPath string) (*Watcher, error) + func (w *Watcher) Close() error