mfojtik / fsinformer

React to file modifications using event handlers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fsinformer

fsinformer is extension to github.com/fsnotify that provide convenient interface to register event handlers for on-disk file changes. In addition to fsnotify it also implements a "relist" behavior (similar to Kubernetes informers) that periodically resync the monitored files independent of fsnotify.

To install:

go get -u github.com/mfojtik/fsinformer

For complete example look at example.go file.

License

Licensed under the Apache License, Version 2.0.

About

React to file modifications using event handlers


Languages

Language:Go 100.0%