Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func GetFileNameEndingWithSeparator(path string) string type Event type Op func (e *Op) Has(h Op) bool func (e *Op) String() string type Watcher func NewWatcherRecursive(rootPath string) (*Watcher, error) func (w *Watcher) Close() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetFileNameEndingWithSeparator ¶ func GetFileNameEndingWithSeparator(path string) string Types ¶ type Event ¶ type Event struct { Name string Op Op } type Op ¶ type Op fsnotify.Op const ( Create Op = Op(fsnotify.Create) Remove Op = Op(fsnotify.Remove) Write Op = Op(fsnotify.Write) Rename Op = Op(fsnotify.Rename) All Op = Create | Remove | Write | Rename ) func (*Op) Has ¶ func (e *Op) Has(h Op) bool func (*Op) String ¶ func (e *Op) String() string type Watcher ¶ type Watcher struct { Events <-chan Event Errors <-chan error // contains filtered or unexported fields } func NewWatcherRecursive ¶ func NewWatcherRecursive(rootPath string) (*Watcher, error) func (*Watcher) Close ¶ func (w *Watcher) Close() error Source Files ¶ View all Source files fsnotify_fsnotify_fsnotify.go Click to show internal directories. Click to hide internal directories.