howeyc / fsnotify

File system notification for Go
BSD 3-Clause "New" or "Revised" License
1.99k stars 252 forks source link

change property to public of addWatch method for linux. #120

Open sycki opened 6 years ago

sycki commented 6 years ago

I found out that I can not add watch, so I modified it to public, can be merge?

watcher, err := fsnotify.NewWatcher()
...
watcher.AddWatch("/tmp/mydir", flags)