• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..06-Dec-2020-

fsnotify-1.4.2/H11-Oct-2016-4,3433,203

.editorconfigH A D06-Dec-202052 64

.gitignoreH A D06-Dec-2020201 75

.travis.ymlH A D06-Dec-2020376 2921

AUTHORSH A D06-Dec-20201.5 KiB4743

CHANGELOG.mdH A D06-Dec-202011 KiB308198

CONTRIBUTING.mdH A D06-Dec-20203.9 KiB7849

LICENSEH A D06-Dec-20201.5 KiB2925

README.mdH A D06-Dec-20202.8 KiB5131

fen.goH A D06-Dec-2020935 3820

fsnotify.goH A D06-Dec-20201.4 KiB6342

inotify.goH A D06-Dec-20208.8 KiB326224

inotify_poller.goH A D06-Dec-20204.6 KiB188138

kqueue.goH A D06-Dec-202013 KiB504356

open_mode_bsd.goH A D06-Dec-2020303 123

open_mode_darwin.goH A D06-Dec-2020305 133

windows.goH A D06-Dec-202013.4 KiB562488

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