Skip to content

Commit

Permalink
Tweak docs a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
arp242 committed Oct 14, 2022
1 parent 7b6cd6b commit 36569c7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,20 @@ Windows, Linux, macOS, BSD, and illumos.
Go 1.16 or newer is required; the full documentation is at
https://pkg.go.dev/github.com/fsnotify/fsnotify

**It's best to read the documentation at pkg.go.dev, as it's pinned to the last
released version, whereas this README is for the last development version which
may include additions/changes.**

---

Platform support:

| Adapter | OS | Status |
| --------------------- | -------------- | ------------------------------------------------------------ |
| Backend | OS | Status |
| :-------------------- | :------------- | :----------------------------------------------------------- |
| inotify | Linux 2.6.32+ | Supported |
| kqueue | BSD, macOS | Supported |
| ReadDirectoryChangesW | Windows | Supported |
| FEN | illumos | Supported in main branch |
| FSEvents | macOS | [Planned](https://github.com/fsnotify/fsnotify/issues/11) |
| fanotify | Linux 5.9+ | [Maybe](https://github.com/fsnotify/fsnotify/issues/114) |
| FSEvents | macOS | [Not yet](https://github.com/fsnotify/fsnotify/issues/11) |
| fanotify | Linux 5.9+ | [Not yet](https://github.com/fsnotify/fsnotify/issues/114) |
| USN Journals | Windows | [Maybe](https://github.com/fsnotify/fsnotify/issues/53) |
| Polling | *All* | [Maybe](https://github.com/fsnotify/fsnotify/issues/9) |
| Polling | *All* | [Not yet](https://github.com/fsnotify/fsnotify/issues/9) |

Linux, macOS, and illumos should include Android, iOS, and Solaris, but these
are currently untested.
Expand Down
9 changes: 8 additions & 1 deletion fsnotify.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
// Package fsnotify provides a cross-platform interface for file system
// notifications.
//
// Currently supported systems:
//
// Linux 2.6.32+ via inotify
// BSD, macOS via kqueue
// Windows via ReadDirectoryChangesW
// illumos via FEN
package fsnotify

import (
Expand Down Expand Up @@ -37,7 +44,7 @@ const (
Chmod
)

// Common errors that can be reported by a watcher
// Common errors that can be reported.
var (
ErrNonExistentWatch = errors.New("fsnotify: can't remove non-existent watcher")
ErrEventOverflow = errors.New("fsnotify: queue overflow")
Expand Down

0 comments on commit 36569c7

Please sign in to comment.