diff options
Diffstat (limited to 'internal/watcher/config.go')
| -rw-r--r-- | internal/watcher/config.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/watcher/config.go b/internal/watcher/config.go new file mode 100644 index 0000000..ad12d0c --- /dev/null +++ b/internal/watcher/config.go @@ -0,0 +1,11 @@ +package watcher + +import "time" + +// Configures a filesystem watcher +type Config struct { + Roots []string + + Debounce time.Duration + OnChange func() +} |