Unused code linter isn't particularly smart about platform build tags, so since this func is only used by the "naive" (non-macOS) file watcher, it needs to live with that or it gets flagged as dead code when linting on macOS. |
||
|---|---|---|
| .. | ||
| notify.go | ||
| notify_test.go | ||
| paths.go | ||
| paths_test.go | ||
| temp.go | ||
| watcher_darwin.go | ||
| watcher_naive.go | ||
| watcher_naive_test.go | ||
| watcher_nonwin.go | ||
| watcher_windows.go | ||