fsmonitor
fsmonitor copied to clipboard
fsnotify.v1 support added by shiwork, tests added by me
Generic tests added and go fmt & golint fixes done.
This pull request would support the newer "v1" interface for fsnotify. Also I added a Close() method to be able to completely close the underlying watcher.
To verify if the watcher is closed a "IsClosed()" function has also been added.