Registry / utility / howeyc-fsnotify

howeyc-fsnotify

JSON →
library0.9.0gogounverified

File system notification watcher.

go get github.com/howeyc/fsnotify
INSTALL
IMPORT
SIG · HOWEYC-FSNOTIFY
H
howeyc-fsnotify
utilitygov0.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fsnotify
github.com/howeyc/fsnotify

Watches a directory for file system events.

package main import ( "log" "github.com/howeyc/fsnotify" ) func main() { watcher, err := fsnotify.NewWatcher() if err != nil { log.Fatal(err) } defer watcher.Close() err = watcher.Watch("/tmp") if err != nil { log.Fatal(err) } select {} }
Debug
Known issues
gotchaThis package is unmaintained; consider using github.com/fsnotify/fsnotify instead.
fix
Replace import with github.com/fsnotify/fsnotify.
affects: >=0.9.0
Upgrade
Version history
0.9.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
howeyc-fsnotify — go get howeyc-fsnotify · libregistry