watcher

package
v0.0.0-...-a4a52c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2014 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config string

func (Config) Validate

func (c Config) Validate() error

type Filter

type Filter func(*fsnotify.FileEvent) bool

type Watcher

type Watcher struct {
	Event chan *fsnotify.FileEvent
	*fsnotify.Watcher
}

func New

func New(filter Filter) (*Watcher, error)

func NewInstr

func NewInstr(filter Filter, errHandler func(error)) (*Watcher, error)

instrumentable

func (*Watcher) Watch

func (w *Watcher) Watch(dirs ...Config) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL