Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusModified int = iota StatusRemoved StatusNotFound )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileWatcher ¶
type FileWatcher struct {
// contains filtered or unexported fields
}
func NewFileWatcher ¶
func NewFileWatcher() (FileWatcher, chan Status)
func (FileWatcher) Remove ¶
func (w FileWatcher) Remove(paths ...string)
func (FileWatcher) Updates ¶
func (w FileWatcher) Updates() chan Status
func (FileWatcher) Watch ¶
func (w FileWatcher) Watch(rate time.Duration)
Click to show internal directories.
Click to hide internal directories.