Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher watches a directory for file changes
func New ¶
func New(rootPath string, skipDirs []string, skipFiles []string, skipExtensions []string, debounceMs int, logger *slog.Logger) (*Watcher, error)
New creates a new file system watcher
func (*Watcher) UpdateDebounceInterval ¶
UpdateDebounceInterval signals the watcher to update its debounce interval
Click to show internal directories.
Click to hide internal directories.