Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mutex ¶
type Mutex struct {
// contains filtered or unexported fields
}
Mutex is the extended mutex
type Watchable ¶
type Watchable interface { Walk(root string, walkFn filepath.WalkFunc) error GetFileID(fi os.FileInfo) interface{} }
Watchable is an interface of FS which can be watched by this watcher
type Watcher ¶
type Watcher struct { Events chan fsevent.Event Errors chan error // contains filtered or unexported fields }
Watcher is a file watcher
func NewWatcher ¶
NewWatcher is the initializer of watcher struct
Click to show internal directories.
Click to hide internal directories.