Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 06-Dec-2020 | - | ||||
fsnotify-1.4.2/ | H | 11-Oct-2016 | - | 4,343 | 3,203 | |
.editorconfig | H A D | 06-Dec-2020 | 52 | 6 | 4 | |
.gitignore | H A D | 06-Dec-2020 | 201 | 7 | 5 | |
.travis.yml | H A D | 06-Dec-2020 | 376 | 29 | 21 | |
AUTHORS | H A D | 06-Dec-2020 | 1.5 KiB | 47 | 43 | |
CHANGELOG.md | H A D | 06-Dec-2020 | 11 KiB | 308 | 198 | |
CONTRIBUTING.md | H A D | 06-Dec-2020 | 3.9 KiB | 78 | 49 | |
LICENSE | H A D | 06-Dec-2020 | 1.5 KiB | 29 | 25 | |
README.md | H A D | 06-Dec-2020 | 2.8 KiB | 51 | 31 | |
fen.go | H A D | 06-Dec-2020 | 935 | 38 | 20 | |
fsnotify.go | H A D | 06-Dec-2020 | 1.4 KiB | 63 | 42 | |
inotify.go | H A D | 06-Dec-2020 | 8.8 KiB | 326 | 224 | |
inotify_poller.go | H A D | 06-Dec-2020 | 4.6 KiB | 188 | 138 | |
kqueue.go | H A D | 06-Dec-2020 | 13 KiB | 504 | 356 | |
open_mode_bsd.go | H A D | 06-Dec-2020 | 303 | 12 | 3 | |
open_mode_darwin.go | H A D | 06-Dec-2020 | 305 | 13 | 3 | |
windows.go | H A D | 06-Dec-2020 | 13.4 KiB | 562 | 488 |
README.md
1# File system notifications for Go 2 3[![GoDoc](https://godoc.org/github.com/fsnotify/fsnotify?status.svg)](https://godoc.org/github.com/fsnotify/fsnotify) [![Go Report Card](https://goreportcard.com/badge/github.com/fsnotify/fsnotify)](https://goreportcard.com/report/github.com/fsnotify/fsnotify) 4 5fsnotify utilizes [golang.org/x/sys](https://godoc.org/golang.org/x/sys) rather than `syscall` from the standard library. Ensure you have the latest version installed by running: 6 7```console 8go get -u golang.org/x/sys/... 9``` 10 11Cross platform: Windows, Linux, BSD and OS X. 12 13|Adapter |OS |Status | 14|----------|----------|----------| 15|inotify |Linux 2.6.27 or later, Android\*|Supported [![Build Status](https://travis-ci.org/fsnotify/fsnotify.svg?branch=master)](https://travis-ci.org/fsnotify/fsnotify)| 16|kqueue |BSD, OS X, iOS\*|Supported [![Build Status](https://travis-ci.org/fsnotify/fsnotify.svg?branch=master)](https://travis-ci.org/fsnotify/fsnotify)| 17|ReadDirectoryChangesW|Windows|Supported [![Build status](https://ci.appveyor.com/api/projects/status/ivwjubaih4r0udeh/branch/master?svg=true)](https://ci.appveyor.com/project/NathanYoungman/fsnotify/branch/master)| 18|FSEvents |OS X |[Planned](https://github.com/fsnotify/fsnotify/issues/11)| 19|FEN |Solaris 11 |[In Progress](https://github.com/fsnotify/fsnotify/issues/12)| 20|fanotify |Linux 2.6.37+ | | 21|USN Journals |Windows |[Maybe](https://github.com/fsnotify/fsnotify/issues/53)| 22|Polling |*All* |[Maybe](https://github.com/fsnotify/fsnotify/issues/9)| 23 24\* Android and iOS are untested. 25 26Please see [the documentation](https://godoc.org/github.com/fsnotify/fsnotify) for usage. Consult the [Wiki](https://github.com/fsnotify/fsnotify/wiki) for the FAQ and further information. 27 28## API stability 29 30fsnotify is a fork of [howeyc/fsnotify](https://godoc.org/github.com/howeyc/fsnotify) with a new API as of v1.0. The API is based on [this design document](http://goo.gl/MrYxyA). 31 32All [releases](https://github.com/fsnotify/fsnotify/releases) are tagged based on [Semantic Versioning](http://semver.org/). Further API changes are [planned](https://github.com/fsnotify/fsnotify/milestones), and will be tagged with a new major revision number. 33 34Go 1.6 supports dependencies located in the `vendor/` folder. Unless you are creating a library, it is recommended that you copy fsnotify into `vendor/github.com/fsnotify/fsnotify` within your project, and likewise for `golang.org/x/sys`. 35 36## Contributing 37 38Please refer to [CONTRIBUTING][] before opening an issue or pull request. 39 40## Example 41 42See [example_test.go](https://github.com/fsnotify/fsnotify/blob/master/example_test.go). 43 44[contributing]: https://github.com/fsnotify/fsnotify/blob/master/CONTRIBUTING.md 45 46## Related Projects 47 48* [notify](https://github.com/rjeczalik/notify) 49* [fsevents](https://github.com/fsnotify/fsevents) 50 51