commit | 195a23d1fd7681bcac78ab0002e367b4acaeb73c | [log] [tgz] |
---|---|---|
author | Michal Terepeta <michalt@google.com> | Wed Sep 23 15:42:22 2020 +0200 |
committer | Michal Terepeta <michalt@google.com> | Thu Sep 24 09:07:14 2020 +0200 |
tree | 786914c5c5de9c7c2309db752d409d913ba75296 | |
parent | aa284bd3aced73f500649bdd226a21079649db60 [diff] |
Implement the ability to register custom watcher implementations This allows registering a special-purpose factory that returns its own `Watcher` implementation that will take precedence over the default ones. The main motivation for this is handling of file systems that need custom code to watch for changes.
A file system watcher.
It monitors changes to contents of directories and sends notifications when files have been added, removed, or modified.