]> go.fuhry.dev Git - fsnotify.git/commit
all: add Watcher.{sendEvent,sendError} (#492)
authorMartin Tournoij <martin@arp242.net>
Sat, 6 Aug 2022 17:10:41 +0000 (19:10 +0200)
committerGitHub <noreply@github.com>
Sat, 6 Aug 2022 17:10:41 +0000 (19:10 +0200)
commit2bfaa0051c953671a8879575f97ca718c52f8779
tree51a2eba0bc3edf6223b69d3a257339d53cb00b64
parent8ab3b84129d248db26a9760f389b4c9686ba4031
all: add Watcher.{sendEvent,sendError} (#492)

Add a helper function instead of doing a select on w.done and w.Errors
or w.Events every time.

Also move most functions to methods on the Watcher.
inotify.go
kqueue.go
windows.go