Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWatchBudget = errors.New("watch budget exhausted; observing a partial tree")
ErrWatchBudget reports that the directory cap was reached. Directories registered before the cap keep working.
Functions ¶
This section is empty.
Types ¶
type Ignorer ¶
Ignorer prunes paths from observation. Prune must be cheap — it is asked once per directory of a full tree walk. Ignored may consult the repository and is used only for paths that appear while the watcher is running.
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.