Versions in this module Expand all Collapse all v0 v0.1.0 Feb 10, 2016 Changes in this version + const FSN_ALL + const FSN_CREATE + const FSN_DELETE + const FSN_MODIFY + const FSN_RENAME + type FileEvent struct — darwin/amd64, linux/amd64, windows/amd64 + Name string + func (e *FileEvent) IsAttrib() bool + func (e *FileEvent) IsCreate() bool + func (e *FileEvent) IsDelete() bool + func (e *FileEvent) IsModify() bool + func (e *FileEvent) IsRename() bool + func (e *FileEvent) String() string + type Watcher struct — darwin/amd64, linux/amd64, windows/amd64 + Error chan error + Event chan *FileEvent + func NewWatcher() (*Watcher, error) + func (w *Watcher) AddWatch(path string, flags uint32) error + func (w *Watcher) Close() error + func (w *Watcher) RemoveWatch(path string) error + func (w *Watcher) Watch(path string) error + func (w *Watcher) WatchFlags(path string, flags uint32) error