aboutsummaryrefslogtreecommitdiff
path: root/internal/watcher/config.go
blob: ad12d0c5367fcdaf2ce712b8b3ddbb29ca54d7e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
package watcher

import "time"

// Configures a filesystem watcher
type Config struct {
	Roots []string

	Debounce time.Duration
	OnChange func()
}