Add stressy test to inotify.
1 file changed
tree: 6b4e2703fbae9b6d3445e4a5992b1473be60fa31
  1. .gitignore
  2. .travis.yml
  3. AUTHORS
  4. CHANGELOG.md
  5. circle.yml
  6. CONTRIBUTING.md
  7. example_test.go
  8. fsnotify.go
  9. inotify.go
  10. inotify_poller.go
  11. inotify_poller_test.go
  12. inotify_test.go
  13. integration_test.go
  14. kqueue.go
  15. LICENSE
  16. NotUsed.xcworkspace
  17. open_mode_bsd.go
  18. open_mode_darwin.go
  19. README.md
  20. windows.go
README.md

File system notifications for Go

Coverage GoDoc

Go 1.3+ required.

Cross platform: Windows, Linux, BSD and OS X.

AdapterOSStatus
inotifyLinux, Android*Supported Build Status
kqueueBSD, OS X, iOS*Supported Circle CI
ReadDirectoryChangesWWindowsSupported Build status
FSEventsOS XPlanned
FENSolaris 11Planned
fanotifyLinux 2.6.37+
USN JournalsWindowsMaybe
PollingAllMaybe

* Android and iOS are untested.

Please see the documentation for usage. Consult the Wiki for the FAQ and further information.

API stability

Two major versions of fsnotify exist.

fsnotify.v0 is API-compatible with howeyc/fsnotify. Bugfixes may be backported, but I recommend upgrading to v1.

import "gopkg.in/fsnotify.v0"

* Refer to the package as fsnotify (without the .v0 suffix).

fsnotify.v1 provides a new API based on this design document. You can import v1 with:

import "gopkg.in/fsnotify.v1"

Further API changes are planned, but a new major revision will be tagged, so you can depend on the v1 API.

Master may have unreleased changes. Use it to test the very latest code or when contributing, but don't expect it to remain API-compatible:

import "github.com/go-fsnotify/fsnotify"

Contributing

Please refer to CONTRIBUTING before opening an issue or pull request.

Example

See example_test.go.