Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IgnorerFunc ¶
func (IgnorerFunc) Ignored ¶
func (f IgnorerFunc) Ignored(s string) bool
type Watcher ¶
type Watcher struct { Ignores []Ignorer Logger *log.Log Action func(string) Error func(error) // contains filtered or unexported fields }
Watcher is a server that recursively watches a directory for changes.
It has a set of ignore patterns to ignore certain files / directories.
func NewWatcher ¶
func NewWatcher() *Watcher
Click to show internal directories.
Click to hide internal directories.