Documentation
¶
Overview ¶
Package watcher provides file change detection for a git repository. It supports fsnotify-based filesystem watching (primary) and git polling (fallback).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher interface {
// Events returns a channel that receives file change events.
Events() <-chan Event
// Close stops the watcher and releases resources.
Close() error
}
Watcher watches a git repository for file changes and emits events.
Click to show internal directories.
Click to hide internal directories.