Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶ added in v0.2.3
type Event struct {
Kind EventKind // what happened
Name string // file or folder name involved
Dest string // for KindOrganized: the destination; otherwise empty
Err error // set when Kind is KindError
}
Event is a single piece of activity reported by Watcher.Start.
type EventKind ¶ added in v0.2.3
type EventKind int
EventKind identifies the type of activity reported to the watch output.
type WatchOptions ¶
type WatchOptions struct {
Directory string
Preset string
Rules []string
Name string
Debounce time.Duration
Initial bool
DryRun bool
}
WatchOptions configures watch mode
Click to show internal directories.
Click to hide internal directories.