From 9fd2f9eabe93713c0e8fb7dd094e77109db84265 Mon Sep 17 00:00:00 2001 From: RanXom Date: Tue, 14 Jul 2026 11:46:12 +0530 Subject: feat(watcher): introduce filesystem watcher abstraction --- internal/watcher/config.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 internal/watcher/config.go (limited to 'internal/watcher/config.go') 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() +} -- cgit v1.2.3